Public Member Functions | Public Attributes | List of all members
MoveOnlyInt Class Reference

Public Member Functions

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

Public Attributes

int value
 

Detailed Description

Definition at line 42 of file test_copy_move.cpp.

Constructor & Destructor Documentation

◆ MoveOnlyInt() [1/4]

MoveOnlyInt::MoveOnlyInt ( )
inline

Definition at line 44 of file test_copy_move.cpp.

◆ MoveOnlyInt() [2/4]

MoveOnlyInt::MoveOnlyInt ( int  v)
inlineexplicit

Definition at line 45 of file test_copy_move.cpp.

◆ MoveOnlyInt() [3/4]

MoveOnlyInt::MoveOnlyInt ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 46 of file test_copy_move.cpp.

◆ MoveOnlyInt() [4/4]

MoveOnlyInt::MoveOnlyInt ( const MoveOnlyInt )
delete

◆ ~MoveOnlyInt()

MoveOnlyInt::~MoveOnlyInt ( )
inline

Definition at line 57 of file test_copy_move.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 50 of file test_copy_move.cpp.

Member Data Documentation

◆ value

int MoveOnlyInt::value

Definition at line 59 of file test_copy_move.cpp.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:36