#include <StaticSingletonManager.h>
|
using | Key = std::type_info |
|
using | Make = void *(void *) |
|
Definition at line 30 of file StaticSingletonManager.h.
template<typename T , typename Tag , typename F >
template<typename T , typename Tag , typename F >
Definition at line 53 of file StaticSingletonManager.h.
Referenced by create_().
55 auto const& key =
typeid(TypePair<T, Tag>);
static void * create(void *f)
FOLLY_ALWAYS_INLINE static FOLLY_ATTR_VISIBILITY_HIDDEN void * create_(F &creator)
template<typename T , typename Tag , typename F >
Definition at line 60 of file StaticSingletonManager.h.
References create_(), and FOLLY_NOINLINE.
62 auto const& key =
typeid(TypePair<T, Tag>);
static void * create(void *f)
FOLLY_ALWAYS_INLINE static FOLLY_ATTR_VISIBILITY_HIDDEN void * create_(F &creator)
void * folly::detail::StaticSingletonManager::create_ |
( |
Key const & |
key, |
|
|
Make * |
make, |
|
|
void * |
ctx |
|
) |
| |
|
staticprivate |
Definition at line 54 of file StaticSingletonManager.cpp.
56 static auto& instance = *
new StaticSingletonManagerImpl();
57 return instance.create(key, make, ctx);
The documentation for this class was generated from the following files: