smart_ptr::operator== Method

Checks whether op2 or p and this smart_ptr are identical.
Syntax:
bool operator==( const smart_ptr& op2 ) const;
bool operator==( const pointer p ) const;

Return value:

true if the pointers are identical, false if they differ.

See also: smart_ptr, smart_ptr::operator!=

<< smart_ptr