Lodestone.Conversion
Loading...
Searching...
No Matches
SingletonRegistry.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 2/15/26 using zPc-i2.
3//
4#ifndef LODESTONE_SINGLETONREGISTRY_H
5#define LODESTONE_SINGLETONREGISTRY_H
8
10 template <const common::registry::Identifier *Identifier, typename Type, typename Stored = std::unique_ptr<const Type>>
11 class LODESTONE_API SingletonRegistry : public SimpleRegistry<Identifier, Type, Stored> {
12 public:
14
19
20 protected:
21 SingletonRegistry() = default;
22 ~SingletonRegistry() = default;
23 };
24}
25
26#endif // LODESTONE_SINGLETONREGISTRY_H
#define LODESTONE_API
SingletonRegistry(const SingletonRegistry &)=delete
static SingletonRegistry & getInstance()
Definition Registries.cpp:15
SingletonRegistry & operator=(SingletonRegistry &&)=delete
SingletonRegistry & operator=(const SingletonRegistry &)=delete
SingletonRegistry(SingletonRegistry &&)=delete
Definition Registries.cpp:14