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