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

Public Member Functions

 MoveOnlyInt ()
 
 MoveOnlyInt (int v)
 
 MoveOnlyInt (MoveOnlyInt &&m) noexcept
 
 MoveOnlyInt (const MoveOnlyInt &)=delete
 
MoveOnlyIntoperator= (MoveOnlyInt &&m) noexcept
 
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/4]

MoveOnlyInt::MoveOnlyInt ( )
inline

Definition at line 42 of file test_copy_move.cpp.

◆ MoveOnlyInt() [2/4]

MoveOnlyInt::MoveOnlyInt ( int  v)
inlineexplicit

Definition at line 43 of file test_copy_move.cpp.

◆ MoveOnlyInt() [3/4]

MoveOnlyInt::MoveOnlyInt ( MoveOnlyInt &&  m)
inlinenoexcept

Definition at line 44 of file test_copy_move.cpp.

◆ MoveOnlyInt() [4/4]

MoveOnlyInt::MoveOnlyInt ( const MoveOnlyInt )
delete

◆ ~MoveOnlyInt()

MoveOnlyInt::~MoveOnlyInt ( )
inline

Definition at line 55 of file test_copy_move.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 48 of file test_copy_move.cpp.

◆ operator=() [2/2]

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

Member Data Documentation

◆ value

int MoveOnlyInt::value

Definition at line 57 of file test_copy_move.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:02