EngineersForge
Technical User
Hello,
How does one create a single global object that cannot be minipulated in any way? It has to be created immidiatly when the main process starts and must not be used to create more of the same type (refering to class types)?
I was thinking there is a way through the defualt constructor being put under the pravate interface some how, and the class type declaired as const? Does that work in any way???
thanx a bunch,
MK
How does one create a single global object that cannot be minipulated in any way? It has to be created immidiatly when the main process starts and must not be used to create more of the same type (refering to class types)?
I was thinking there is a way through the defualt constructor being put under the pravate interface some how, and the class type declaired as const? Does that work in any way???
thanx a bunch,
MK