User Tools

Site Tools


code:mutable
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


code:mutable [2019/11/13 12:54] (current) – created michfiel
Line 1: Line 1:
 +<code>
 +  class Foo  
 +  {  
 +  private:  
 +    mutable bool done_;  
 +  public:  
 +    void doSomething() const { ...; done_ = true; }  
 +  };
 +  
 +</code>
  
code/mutable.txt · Last modified: 2019/11/13 12:54 by michfiel