proxygen
SelfNeedySingleton Struct Reference

Public Member Functions

 SelfNeedySingleton ()
 

Detailed Description

Definition at line 325 of file SingletonTest.cpp.

Constructor & Destructor Documentation

SelfNeedySingleton::SelfNeedySingleton ( )
inline

Definition at line 326 of file SingletonTest.cpp.

References EXPECT_NE, and folly::Singleton< T, Tag, VaultTag >::try_get().

326  {
328  EXPECT_NE(unused, nullptr);
329  }
static std::shared_ptr< T > try_get()
Definition: Singleton.h:598
#define EXPECT_NE(val1, val2)
Definition: gtest.h:1926

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