Search:

Type: Posts; User: major_tom3

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,779

    No! That's the whole point of using const (but...

    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,...
  2. Replies
    7
    Views
    3,779

    Inheritance with mutable

    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
  3. Vs6.0

    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...
Results 1 to 3 of 3