μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
MoveOnlyInt Class Reference

Public Member Functions

 MoveOnlyInt ()
 
 MoveOnlyInt (int v)
 
 MoveOnlyInt (MoveOnlyInt &&m) noexcept
 
MoveOnlyIntoperator= (MoveOnlyInt &&m) noexcept
 
 MoveOnlyInt (const MoveOnlyInt &)=delete
 
MoveOnlyIntoperator= (const MoveOnlyInt &)=delete
 
 ~MoveOnlyInt ()
 
 MoveOnlyInt ()
 
 MoveOnlyInt (int v)
 
 MoveOnlyInt (MoveOnlyInt &&m) noexcept
 
MoveOnlyIntoperator= (MoveOnlyInt &&m) noexcept
 
 MoveOnlyInt (const MoveOnlyInt &)=delete
 
MoveOnlyIntoperator= (const MoveOnlyInt &)=delete
 
 ~MoveOnlyInt ()
 

Public Attributes

int value
 

Detailed Description

Definition at line 40 of file test_copy_move.cpp.

Constructor & Destructor Documentation

◆ MoveOnlyInt() [1/8]

MoveOnlyInt::MoveOnlyInt ( )
inline

Definition at line 42 of file test_copy_move.cpp.

References print_default_created().

◆ MoveOnlyInt() [2/8]

MoveOnlyInt::MoveOnlyInt ( int  v)
inlineexplicit

Definition at line 43 of file test_copy_move.cpp.

References print_created(), and value.

◆ MoveOnlyInt() [3/8]

MoveOnlyInt::MoveOnlyInt ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 44 of file test_copy_move.cpp.

References print_move_created(), and value.

◆ MoveOnlyInt() [4/8]

MoveOnlyInt::MoveOnlyInt ( const MoveOnlyInt )
delete

◆ ~MoveOnlyInt() [1/2]

MoveOnlyInt::~MoveOnlyInt ( )
inline

Definition at line 55 of file test_copy_move.cpp.

References print_destroyed().

◆ MoveOnlyInt() [5/8]

MoveOnlyInt::MoveOnlyInt ( )
inline

Definition at line 42 of file test_copy_move.cpp.

References print_default_created().

◆ MoveOnlyInt() [6/8]

MoveOnlyInt::MoveOnlyInt ( int  v)
inlineexplicit

Definition at line 43 of file test_copy_move.cpp.

References print_created(), and value.

◆ MoveOnlyInt() [7/8]

MoveOnlyInt::MoveOnlyInt ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 44 of file test_copy_move.cpp.

References print_move_created(), and value.

◆ MoveOnlyInt() [8/8]

MoveOnlyInt::MoveOnlyInt ( const MoveOnlyInt )
delete

◆ ~MoveOnlyInt() [2/2]

MoveOnlyInt::~MoveOnlyInt ( )
inline

Definition at line 55 of file test_copy_move.cpp.

References print_destroyed().

Member Function Documentation

◆ operator=() [1/4]

MoveOnlyInt & MoveOnlyInt::operator= ( const MoveOnlyInt )
delete

◆ operator=() [2/4]

MoveOnlyInt & MoveOnlyInt::operator= ( const MoveOnlyInt )
delete

◆ operator=() [3/4]

MoveOnlyInt & MoveOnlyInt::operator= ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 48 of file test_copy_move.cpp.

References print_move_assigned(), and value.

◆ operator=() [4/4]

MoveOnlyInt & MoveOnlyInt::operator= ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 48 of file test_copy_move.cpp.

References print_move_assigned(), and value.

Member Data Documentation

◆ value

int MoveOnlyInt::value

Definition at line 57 of file test_copy_move.cpp.

Referenced by MoveOnlyInt(), and operator=().


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