Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::shared_ptr >> std::experimental::shared_ptr greater-than comparison operator

Compare two std::experimental::shared_ptr objects to see if one is greater than the other.

template <typename LhsTarget, typename RhsTarget>
bool operator>(
    const shared_ptr<LhsTarget>& lhs,
    const shared_ptr<RhsTarget>& rhs);

Returns:

rhs<lhs

Header

#include <experimental/atomic>

See Also