> There "should" only ever be one instance of this class; I'd just like to
> avoid the program exploding if somebody *does* copy that instance for
> some reason. A shallow copy is acceptable.
Is there a C++ equivalent to the C# static class? That would ensure at
compile-time that nobody tried to create an(other) instance.
Post a reply to this message
|