I was just wondering whether we can have static classes in C++. What I mean is can we declare a class as static in C++ like static class foo
? I know we can have static member variables and static member functions in C++ but I am not sure about static classes.
Edit:
I intended to ask what does it mean for a class to be static.