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
);
Parameters
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().
Remarks
The template operators return left.get() > right.get().
Requirements
Header: <memory>
Namespace: std