title: C++: Forward declaration of class member (variable)
body: <p>Is it possible to forward declare a class member variable? I want to do something like the following (But it doesn't work):</p>
  
  <pre><code>class myClass;
  bool myClass::myvar;
  
  void main()
  {
      myClass* aaa;
      ...
      aaa-&gt;myvar = false;
  }
  </code></pre>
  
  <p>In this example, myvar is a boolean member of myClass.</p>