smart_ptr::operator!= Method

Checks whether op2 or p differs from this smart_ptr.
Syntax:
bool operator!=( const smart_ptr& op2 ) const;
bool operator!=( const pointer p ) const;

Return value:

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

See also: smart_ptr, smart_ptr::operator==

<< smart_ptr