Allowing access to private members
问题 This question is somewhat a continuation of this one I've posted. What I was trying to do : my point was to allow access to private members of a base class A in a derived class B , with the following restraints: what I want to access is a structure -- an std::map<> , actually --, not a method; I cannot modified the base class; base class A has no templated method I may overload as a backdoor alternative -- and I would not add such method, as it would be going against the second restraint. As