title: Can a class be declared static in c++?
body: <p>Is this legal in c++ (yes i know it's legal in .net), and if so, how/why would it be used?</p>
  
  <pre><code>static class foo{  
      public:  
          foo();  
          int doIt(int a);   
  };
  </code></pre>