ReactOS  0.4.15-dev-3733-g974a0f0
MovableStruct Struct Reference

#include <mvctor_test.h>

Collaboration diagram for MovableStruct:

Public Member Functions

 MovableStruct ()
 
 MovableStruct (MovableStruct const &)
 
 ~MovableStruct ()
 
MovableStructoperator= (const MovableStruct &)
 

Static Public Member Functions

static void reset ()
 

Public Attributes

voiddummy_data [2]
 

Static Public Attributes

static size_t nb_dft_construct_call = 0
 
static size_t nb_cpy_construct_call = 0
 
static size_t nb_mv_construct_call = 0
 
static size_t nb_assignment_call = 0
 
static size_t nb_destruct_call = 0
 

Detailed Description

Definition at line 62 of file mvctor_test.h.

Constructor & Destructor Documentation

◆ MovableStruct() [1/2]

MovableStruct::MovableStruct ( )
inline

Definition at line 63 of file mvctor_test.h.

static size_t nb_dft_construct_call
Definition: mvctor_test.h:86

◆ MovableStruct() [2/2]

MovableStruct::MovableStruct ( MovableStruct const )
inline

Definition at line 64 of file mvctor_test.h.

static size_t nb_cpy_construct_call
Definition: mvctor_test.h:87

◆ ~MovableStruct()

MovableStruct::~MovableStruct ( )
inline

Definition at line 73 of file mvctor_test.h.

73 { ++nb_destruct_call; }
static size_t nb_destruct_call
Definition: mvctor_test.h:90

Member Function Documentation

◆ operator=()

Definition at line 75 of file mvctor_test.h.

75  {
77  return *this;
78  }
static size_t nb_assignment_call
Definition: mvctor_test.h:89

◆ reset()

static void MovableStruct::reset ( void  )
inlinestatic

Definition at line 80 of file mvctor_test.h.

80  {
83  nb_destruct_call = 0;
84  }
static size_t nb_cpy_construct_call
Definition: mvctor_test.h:87
static size_t nb_destruct_call
Definition: mvctor_test.h:90
static size_t nb_dft_construct_call
Definition: mvctor_test.h:86
static size_t nb_mv_construct_call
Definition: mvctor_test.h:88
static size_t nb_assignment_call
Definition: mvctor_test.h:89

Referenced by MoveConstructorTest::move_traits_deq(), and MoveConstructorTest::move_traits_vec().

Member Data Documentation

◆ dummy_data

void* MovableStruct::dummy_data[2]

Definition at line 96 of file mvctor_test.h.

◆ nb_assignment_call

size_t MovableStruct::nb_assignment_call = 0
static

◆ nb_cpy_construct_call

size_t MovableStruct::nb_cpy_construct_call = 0
static

◆ nb_destruct_call

size_t MovableStruct::nb_destruct_call = 0
static

◆ nb_dft_construct_call

size_t MovableStruct::nb_dft_construct_call = 0
static

◆ nb_mv_construct_call

size_t MovableStruct::nb_mv_construct_call = 0
static

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