A singleton whose instance is intentionally never destroyed.
Declared in <folly/Singleton.h>
template<
typename T,
typename Tag = /* implementation-defined */>
class LeakySingleton;
| Name | Description |
|---|---|
CreateFunc | Create function used to build the singleton instance. |
| Name | Description |
|---|---|
LeakySingleton [constructor] | Constructors |
| Name | Description |
|---|---|
get | Get a reference to the singleton instance. |
make_mock | make_mock overloads |