proxygen
ExpensiveCopy Struct Reference

Public Member Functions

 ExpensiveCopy ()
 
 ExpensiveCopy (const ExpensiveCopy &)
 

Detailed Description

Definition at line 20 of file CoroBenchmarkNRVO.cpp.

Constructor & Destructor Documentation

ExpensiveCopy::ExpensiveCopy ( )
inline

Definition at line 21 of file CoroBenchmarkNRVO.cpp.

21 {}
ExpensiveCopy::ExpensiveCopy ( const ExpensiveCopy )
inline

Definition at line 23 of file CoroBenchmarkNRVO.cpp.

References BENCHMARK(), folly::exchange(), folly::gen::move, promise_, T, folly::times(), and value.

23  {
24  std::this_thread::sleep_for(std::chrono::milliseconds{1});
25  }

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