title: Initialisation of static vector
body: <p>I wonder if there is the "nicer" way of initialising a static vector than below?</p>
  
  <pre><code>class Foo
  {
      static std::vector&lt;int&gt; MyVector;
      Foo()
      {
          if (MyVector.empty())
          {
              MyVector.push_back(4);
              MyVector.push_back(17);
              MyVector.push_back(20);
          }
      }
  }
  </code></pre>
  
  <p>It's an example code :)</p>
  
  <p>The values in push_back() are declared independly; not in array or something.</p>
  
  <p>Edit: if it isn't possible, tell me that also :)</p>