16 #ifndef INCLUDE_NN_NLIB_SIMPLESINGLETON_H_ 17 #define INCLUDE_NN_NLIB_SIMPLESINGLETON_H_ 31 static Creator creator;
50 typename SimpleSingleton<T>::Creator SimpleSingleton<T>::creator;
54 #endif // INCLUDE_NN_NLIB_SIMPLESINGLETON_H_ #define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
static T & Instance() noexcept
Gets the singleton instance of T.
Singleton of the type for implicitly constructing an instance based on a static variable before calli...
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
A file that contains the configuration information for each development environment.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.