template <const common::registry::Identifier *Identifier, typename Type, typename Stored> \
LODESTONE_API SingletonRegistry<Identifier, Type, Stored> &SingletonRegistry<Identifier, Type, Stored>::getInstance() { \
static SingletonRegistry s_instance; \
return s_instance; \
}
21#define LODESTONE_IMPLEMENT_REGISTRY_GET_INSTANCE() \
22 template <const common::registry::Identifier *Identifier, typename Type, typename Stored> \
23 LODESTONE_API SingletonRegistry<Identifier, Type, Stored> &SingletonRegistry<Identifier, Type, Stored>::getInstance() { \
24 static SingletonRegistry s_instance; \
25 return s_instance; \
26 }