cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | Public Attributes | List of all members
MoveOrCopyInt Class Reference

Public Member Functions

 MoveOrCopyInt ()
 
 MoveOrCopyInt (int v)
 
 MoveOrCopyInt (MoveOrCopyInt &&m)
 
MoveOrCopyIntoperator= (MoveOrCopyInt &&m)
 
 MoveOrCopyInt (const MoveOrCopyInt &c)
 
MoveOrCopyIntoperator= (const MoveOrCopyInt &c)
 
 ~MoveOrCopyInt ()
 

Public Attributes

int value
 

Detailed Description

Definition at line 49 of file test_copy_move.cpp.

Constructor & Destructor Documentation

◆ MoveOrCopyInt() [1/4]

MoveOrCopyInt::MoveOrCopyInt ( )
inline

Definition at line 51 of file test_copy_move.cpp.

◆ MoveOrCopyInt() [2/4]

MoveOrCopyInt::MoveOrCopyInt ( int  v)
inline

Definition at line 52 of file test_copy_move.cpp.

◆ MoveOrCopyInt() [3/4]

MoveOrCopyInt::MoveOrCopyInt ( MoveOrCopyInt &&  m)
inline

Definition at line 53 of file test_copy_move.cpp.

◆ MoveOrCopyInt() [4/4]

MoveOrCopyInt::MoveOrCopyInt ( const MoveOrCopyInt c)
inline

Definition at line 55 of file test_copy_move.cpp.

◆ ~MoveOrCopyInt()

MoveOrCopyInt::~MoveOrCopyInt ( )
inline

Definition at line 57 of file test_copy_move.cpp.

Member Function Documentation

◆ operator=() [1/2]

MoveOrCopyInt& MoveOrCopyInt::operator= ( const MoveOrCopyInt c)
inline

Definition at line 56 of file test_copy_move.cpp.

◆ operator=() [2/2]

MoveOrCopyInt& MoveOrCopyInt::operator= ( MoveOrCopyInt &&  m)
inline

Definition at line 54 of file test_copy_move.cpp.

Member Data Documentation

◆ value

int MoveOrCopyInt::value

Definition at line 59 of file test_copy_move.cpp.


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