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

Compare two std::experimental::shared_ptr objects for inequality.

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

Returns:

!(lhs==rhs)

Header

#include <experimental/atomic>

See Also