proxygen
folly::detail::StaticSingletonManager::Creator< F > Struct Template Reference

Static Public Member Functions

static void * create (void *f)
 

Detailed Description

template<typename F>
struct folly::detail::StaticSingletonManager::Creator< F >

Definition at line 46 of file StaticSingletonManager.h.

Member Function Documentation

template<typename F >
static void* folly::detail::StaticSingletonManager::Creator< F >::create ( void *  f)
inlinestatic

Definition at line 47 of file StaticSingletonManager.h.

References f.

47  {
48  return static_cast<void*>((*static_cast<F*>(f))());
49  }
auto f

The documentation for this struct was generated from the following file: