23template <
typename T,
class Locker = NoLock>
95 return m_ref ==
nullptr;
99 class ref :
public Locker
156 return lhs.
get() == rhs.
get();
162 return lhs.
get() != rhs.
get();
simple_ref_ptr & operator=(const simple_ref_ptr &rhs)
simple_ref_ptr(const simple_ref_ptr &rhs)
T *(simple_ref_ptr< T >::*)() const fake_bool
bool operator==(const simple_ref_ptr< T > &lhs, const simple_ref_ptr< T > &rhs)
bool operator!=(const simple_ref_ptr< T > &lhs, const simple_ref_ptr< T > &rhs)