34 template<
typename Type>
36 std::default_initializable<Type> && std::destructible<Type>;
65 return singleton._instance;
79 template<
typename Type>
81 { Type::getInstance() } -> std::same_as<Type &>;
Singleton class template.
static Type & getInstance(void)
Get the singleton instance.
Concept to ensure the class can be a singleton.
Concept to ensure a Singleton type is provided.
The utility namespace contains classes and functions for the utility project.