I ran into an error yesterday and, while it\'s easy to get around, I wanted to make sure that I\'m understanding C++ right.
I have a base class with a protected memb
Use this pointer to access protected members
this
class Derived : public Base { protected: int d; public: void DoSomething(const Base& that) { this->b+=that.b; d=0; } };