tudocomp
– The TU Dortmund Compression Framework
tdc::MoveGuard Class Reference

#include <util.hpp>

Public Member Functions

 MoveGuard ()
 
 MoveGuard (const MoveGuard &other)
 
 MoveGuard (MoveGuard &&other)
 
bool is_not_moved () const
 
bool is_moved () const
 
 operator bool () const
 
bool operator! () const
 

Detailed Description

Definition at line 522 of file include/tudocomp/util.hpp.

Constructor & Destructor Documentation

◆ MoveGuard() [1/3]

tdc::MoveGuard::MoveGuard ( )
inline

Definition at line 525 of file include/tudocomp/util.hpp.

◆ MoveGuard() [2/3]

tdc::MoveGuard::MoveGuard ( const MoveGuard other)
inline

Definition at line 526 of file include/tudocomp/util.hpp.

◆ MoveGuard() [3/3]

tdc::MoveGuard::MoveGuard ( MoveGuard &&  other)
inline

Definition at line 530 of file include/tudocomp/util.hpp.

Member Function Documentation

◆ is_moved()

bool tdc::MoveGuard::is_moved ( ) const
inline

Definition at line 539 of file include/tudocomp/util.hpp.

◆ is_not_moved()

bool tdc::MoveGuard::is_not_moved ( ) const
inline

Definition at line 536 of file include/tudocomp/util.hpp.

◆ operator bool()

tdc::MoveGuard::operator bool ( ) const
inline

Definition at line 542 of file include/tudocomp/util.hpp.

◆ operator!()

bool tdc::MoveGuard::operator! ( ) const
inline

Definition at line 545 of file include/tudocomp/util.hpp.


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