Can a class be declared static in c++?
c++, static
Solution
If you're using C++/CLI, the actual syntax for `static` is
ref class Foo abstract sealed /* abstract sealed = C# static */
{
};
Problem
Is this legal in c++ (yes i know it's legal in .net), and if so, how/why would it be used? ``` static class foo{ public: foo(); int doIt(int a); }; ```