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

Compare two std::experimental::shared_ptr objects to see if one is less than or equal to 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