operator==,!=,<,<=,>,>=(std::experimental::observer_ptr)
Min standard notice:
Compares the pointer values of two observer_ptrs, or an observer_ptr and nullptr.
# Declarations
template< class W1, class W2 >
bool operator==( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
template< class W1, class W2 >
bool operator!=( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
template< class W >
bool operator==( const observer_ptr<W>& p, std::nullptr_t ) noexcept;
(library fundamentals TS v2)
template< class W >
bool operator==( std::nullptr_t, const observer_ptr<W>& p ) noexcept;
(library fundamentals TS v2)
template< class W >
bool operator!=( const observer_ptr<W>& p, std::nullptr_t ) noexcept;
(library fundamentals TS v2)
template< class W >
bool operator!=( std::nullptr_t, const observer_ptr<W>& p ) noexcept;
(library fundamentals TS v2)
template< class W1, class W2 >
bool operator<( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
template< class W1, class W2 >
bool operator>( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
template< class W1, class W2 >
bool operator<=( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
template< class W1, class W2 >
bool operator>=( const observer_ptr<W1>& p1, const observer_ptr<W2>& p2 );
(library fundamentals TS v2)
# Parameters
p, p1, p2: observer_ptrs to compare