|
Cytopia
0.3
A city building simulation game
|
Abstract Singleton implementation. More...
#include <Singleton.hxx>
Inheritance diagram for Singleton< T >:
Collaboration diagram for Singleton< T >:Static Public Member Functions | |
| static T & | instance (void) |
| Get an instance of the singleton. More... | |
Protected Member Functions | |
| Singleton () noexcept=default | |
| ~Singleton () noexcept=default | |
Abstract Singleton implementation.
Definition at line 8 of file Singleton.hxx.
|
inlinestatic |
Get an instance of the singleton.
Definition at line 15 of file Singleton.hxx.