Naming scheme for singletons
Issue #134
resolved
Singletons should have a unique naming scheme to identify them, so that the overall naming scheme would look like:
Structs: SMyName
Class: CMyName
Singleton: CSingleton<SMyName> SMyNameGlobal or MyNameGlobal
rather than
Singleton: CSingleton<SMyName> CMyName which is can be confused as a class of MyName.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Refactored code should fix this.
- Log in to comment
That is a very good idea. As of now SCL only has CDatabase and an Object Map.
The Database is obvious. And I've changed the object map to CDatabaseDynObj