C++: Using base class's private members in equality test
I would like the following to compile, but it does not: template <typename T> struct Odp { public: operator*() const { return m_p; } T* operator->() const { return m_p; } T** operator&() { return &m_p; } private: T* m_p; }; struct Ftw : public Odp<int> { bool o...