operator> <memory>
Tests for one object being greater than a second object.
template<class Ty1, class Ty2>
bool operator>(
const shared_ptr<Ty1>& left,
const shared_ptr<Ty2>& right
);
Parámetros
left
One of the objects to be compared.right
One of the objects to be compared.
Property Value/Return Value
Returns left.get() > right.get().
Comentarios
The template operators return left.get() > right.get().
Requisitos
Header: <memory>
Namespace: std