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