User Tools

Site Tools


code:mutable

Differences

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

Link to this comparison view

code:mutable [2019/11/13 12:54] (current)
michfiel created
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