"Brian Richards" <br*******@gmail.com> wrote in message
news:Ow**************@TK2MSFTNGP03.phx.gbl...
Is there a way to implement static classes in C++ the same way you do in
C#?
Sure. Just leave off the "static" keyword" on the class definition :)
Seriously though - there's no C++ equivalent to a class that CAN'T have
instance methods - but you can just make a class and only create static
methods in it. For completeness, declare an unimplemented, private default
constructor so the class cannot be instantiated.
-cd