title: C++ How do I give a member variable in an abstract class a default value?
body: <p>In the header, I'm defining bool isActive. In classes derived from this one, I would like to make isActive false by default. I tried doing this by adding </p>
  
  <pre><code>AbstractClass::isActive = false; 
  </code></pre>
  
  <p>to the cpp file, but that causes the error "Expected constructor, destructor, or type conversion before '=' token."</p>