proxygen
foo Struct Reference

Public Member Functions

 foo (foo &&) noexcept
 
foooperator= (foo &&)
 
foooperator= (const foo &)
 
 foo (const foo &)
 
 foo ()
 

Public Attributes

int a {0}
 
int b {0}
 

Static Public Attributes

static int moved {0}
 
static int copied {0}
 

Detailed Description

Definition at line 91 of file ConcurrentHashMapTest.cpp.

Constructor & Destructor Documentation

foo::foo ( foo &&  )
inlinenoexcept

Definition at line 94 of file ConcurrentHashMapTest.cpp.

94  {
95  moved++;
96  }
static int moved
foo::foo ( const foo )
inline

Definition at line 105 of file ConcurrentHashMapTest.cpp.

105  {
106  copied++;
107  }
static int copied
foo::foo ( )
inline

Definition at line 108 of file ConcurrentHashMapTest.cpp.

References copied, and moved.

108 {}

Member Function Documentation

foo& foo::operator= ( foo &&  )
inline

Definition at line 97 of file ConcurrentHashMapTest.cpp.

97  {
98  moved++;
99  return *this;
100  }
static int moved
foo& foo::operator= ( const foo )
inline

Definition at line 101 of file ConcurrentHashMapTest.cpp.

101  {
102  copied++;
103  return *this;
104  }
static int copied

Member Data Documentation

int foo::a {0}

Definition at line 90 of file ThreadLocalBenchmark.cpp.

int foo::b {0}

Definition at line 91 of file ThreadLocalBenchmark.cpp.

int foo::copied {0}
static

Definition at line 93 of file ConcurrentHashMapTest.cpp.

Referenced by foo(), and TEST().

int foo::moved {0}
static

Definition at line 92 of file ConcurrentHashMapTest.cpp.

Referenced by foo(), and TEST().


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