A
Adam H. Peterson
I'm using a private base class as part of the implementation for one of
my classes. In my implementation, it holds cached data, and I'd like to
be able to call its const member functions from my nonconst members. Is
there a way to get something like "mutable inheritance" to accomplish this?
my classes. In my implementation, it holds cached data, and I'd like to
be able to call its const member functions from my nonconst members. Is
there a way to get something like "mutable inheritance" to accomplish this?