Bugzilla – Attachment #405: fix for bug #534
T *operator -> () const;
T *operator -> ();
const T &operator * () const;
const T &operator * ();
T &operator * ();
// allow if (!sp)
bool operator! ();
// allow if (sp)
}
template <typename T>
const T &
T &
Ptr<T>::operator * ()
{
return *m_ptr;