예제 #1
0
	//! construct
    rc_ptr( const rc_ptr& rhs ) 
        : _ptr( rhs.get()){
        add_ref();
    }
예제 #2
0
 rc_ptr( const rc_ptr<other_t>& rhs ) 
     : _ptr(rhs.get()){
     add_ref();
 }
예제 #3
0
bool operator!=( const rc_ptr<T>& lhs , const rc_ptr<T>& rhs ) {
    return lhs.get() != rhs.get();
}