proxygen
folly::CopyCount Struct Reference

Public Member Functions

 CopyCount ()
 
 CopyCount (const CopyCount &)
 
 CopyCount (CopyCount &&) noexcept
 
bool operator() () const
 

Static Public Attributes

static int count = 0
 

Detailed Description

Definition at line 74 of file LazyTest.cpp.

Constructor & Destructor Documentation

folly::CopyCount::CopyCount ( )
inline

Definition at line 75 of file LazyTest.cpp.

Referenced by folly::TEST().

75 {}
folly::CopyCount::CopyCount ( const CopyCount )
inline

Definition at line 76 of file LazyTest.cpp.

References count.

76  {
77  ++count;
78  }
static int count
Definition: LazyTest.cpp:81
folly::CopyCount::CopyCount ( CopyCount &&  )
inlinenoexcept

Definition at line 79 of file LazyTest.cpp.

79 {}

Member Function Documentation

bool folly::CopyCount::operator() ( ) const
inline

Definition at line 83 of file LazyTest.cpp.

References count.

83  {
84  return true;
85  }

Member Data Documentation

int folly::CopyCount::count = 0
static

Definition at line 81 of file LazyTest.cpp.

Referenced by CopyCount(), and operator()().


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