I think you are looking for an object declaration which is in essence a Singleton.
Though I wouldn’t compare it to a struct
since that has a different meaning and behaviour in most other languages.
I think you are looking for an object declaration which is in essence a Singleton.
Though I wouldn’t compare it to a struct
since that has a different meaning and behaviour in most other languages.