Constructors
Synopses
Declared in <folly/Singleton.h>
Construct a leaky singleton using the default constructor of T.
Construct a leaky singleton using the given create function.
explicit
LeakySingleton(CreateFunc createFunc);
Parameters
Name |
Description |
createFunc |
The create function to use (in lieu of new). |
Created with MrDocs