proxygen
folly::test::TestRValueConstruct Class Reference

Public Member Functions

 TestRValueConstruct ()=default
 
 TestRValueConstruct (TestRValueConstruct &&) noexcept
 
 TestRValueConstruct (const TestRValueConstruct &)
 
TestRValueConstructoperator= (const TestRValueConstruct &)=delete
 
TestRValueConstructoperator= (TestRValueConstruct &&)=delete
 

Public Attributes

bool constructed_from_rvalue {false}
 

Detailed Description

Definition at line 36 of file ForeachTest.cpp.

Constructor & Destructor Documentation

folly::test::TestRValueConstruct::TestRValueConstruct ( )
default
folly::test::TestRValueConstruct::TestRValueConstruct ( TestRValueConstruct &&  )
inlinenoexcept

Definition at line 39 of file ForeachTest.cpp.

39  {
40  this->constructed_from_rvalue = true;
41  }
folly::test::TestRValueConstruct::TestRValueConstruct ( const TestRValueConstruct )
inline

Definition at line 42 of file ForeachTest.cpp.

42  {
43  this->constructed_from_rvalue = false;
44  }

Member Function Documentation

TestRValueConstruct& folly::test::TestRValueConstruct::operator= ( const TestRValueConstruct )
delete
TestRValueConstruct& folly::test::TestRValueConstruct::operator= ( TestRValueConstruct &&  )
delete

Member Data Documentation

bool folly::test::TestRValueConstruct::constructed_from_rvalue {false}

Definition at line 48 of file ForeachTest.cpp.


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