proxygen
Movable Struct Reference

Public Member Functions

 Movable (int x)
 
 Movable (const Movable &)
 
Movableoperator= (const Movable &)
 
 Movable (Movable &&)=default
 
Movableoperator= (Movable &&)=default
 

Public Attributes

int x_
 

Detailed Description

Definition at line 745 of file sorted_vector_test.cpp.

Constructor & Destructor Documentation

Movable::Movable ( int  x)
inlineexplicit

Definition at line 747 of file sorted_vector_test.cpp.

747 : x_(x) {}
Definition: InvokeTest.cpp:58
Movable::Movable ( const Movable )
inline

Definition at line 748 of file sorted_vector_test.cpp.

References ADD_FAILURE.

748  {
749  ADD_FAILURE() << "Copy ctor should not be called";
750  }
#define ADD_FAILURE()
Definition: gtest.h:1808
Movable::Movable ( Movable &&  )
default

Member Function Documentation

Movable& Movable::operator= ( const Movable )
inline

Definition at line 751 of file sorted_vector_test.cpp.

References ADD_FAILURE.

751  {
752  ADD_FAILURE() << "Copy assignment should not be called";
753  return *this;
754  }
#define ADD_FAILURE()
Definition: gtest.h:1808
Movable& Movable::operator= ( Movable &&  )
default

Member Data Documentation

int Movable::x_

Definition at line 746 of file sorted_vector_test.cpp.


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