No! That's the whole point of using const (but you can do the converse).
The point about mutable is that it allows innocuous changes to be made to objects which are otherwise const. Of course,...
Type: Posts; User: major_tom3
No! That's the whole point of using const (but you can do the converse).
The point about mutable is that it allows innocuous changes to be made to objects which are otherwise const. Of course,...
Why can't I inherit a class as mutable? In other words, I'd like all methods of a base-class to be implicitly mutable:
class A
{
int foo();
}
class B: public mutable A
It seems this is not allowed by Visual Studio 6.0.
I've just come across the same issue because code I can compile using g++ (mingw v3.4.2) won't compile under Visual Studio 6.0. Making the inner...