operator<= <memory>
Tests for one object being less than or equal to a second object.
template<class Ty1, class Ty2>
bool operator<=(
const shared_ptr<Ty1>& left,
const shared_ptr<Ty2>& right
);
Параметры
left
One of the objects to be compared.right
One of the objects to be compared.
Property Value/Return Value
Returns true if _Left is less than or equal to _Right, and false if it is not.
Заметки
The template operators return _Left.get() <= _Right.get().
Требования
Header: <memory>
Namespace: std