smart_ptr::operator== Method

op2もしくはpsmart_comクラスライブラリリファレンス>クラス>smart_comと同一かどうかをチェックします。

構文

bool operator==( const smart_ptr& op2 ) const;
bool operator==( const pointer p ) const;

戻り値

ポインタが同一であればtrue、そうでない場合はfalse