Setting default value for a class property
<p>I have the function below.  I need to set a generic value for the verbosity level.
Error: Iso C++ forbids isolation.  Do I need to to this through the constructor?</p>

<p>Yes,
I tried that and it worked like this</p>

<pre><code>  arche()
    {
    verbosity_ = 1;
    }
</code></pre>

<p>But as I recall C++ has a special syntax for default member values.  This is probably what I should be using. What is it?</p>

<pre><code>  class test
    {
    protected:
      short verbosity_=1; // this does not work
    public:
      void setVerbosity(short v)
        {
        if((v==0 || v==1)) 
          {
          verbosity_ = v;
          }
        else 
          {
          cout &lt;&lt; " Verbosity Level Invalid " &lt;&lt; endl;
          }
        }
      virtual void runTest() = 0;
    };
</code></pre>
