title: Make variable read-only after initialization in another function/constructor [C++]
body: <p>I have a class in A.h file:</p>
  
  <pre><code>class A {
  ...
  public:
      A();
  ...
  private:
      bool t = false;
  ...
  }
  </code></pre>
  
  <p>In the A.cpp file:</p>
  
  <pre><code>A::A() {
      ...
      t = true; &lt;- after this point, have t be const or readonly
      ...
  }
  </code></pre>
  
  <p>Is this possible? Or would I have to use a different value?</p>