kblib 0.2.3
General utilities library for modern C++
kblib::RAII_wrapper< T > Struct Template Reference

#include <kblib/simple.h>

Public Member Functions

 ~RAII_wrapper () noexcept(noexcept(t()))
 
 RAII_wrapper (T &&t_)
 
 RAII_wrapper (const T &t_)
 
 RAII_wrapper (const RAII_wrapper &)=delete
 
 RAII_wrapper (RAII_wrapper &&)=delete
 
RAII_wrapperoperator= (const RAII_wrapper &)=delete
 
RAII_wrapperoperator= (RAII_wrapper &&)=delete
 

Public Attributes

t
 

Detailed Description

template<typename T>
struct kblib::RAII_wrapper< T >

Definition at line 93 of file simple.h.

Constructor & Destructor Documentation

◆ ~RAII_wrapper()

template<typename T >
kblib::RAII_wrapper< T >::~RAII_wrapper ( )
inlinenoexcept

Definition at line 95 of file simple.h.

◆ RAII_wrapper() [1/4]

template<typename T >
kblib::RAII_wrapper< T >::RAII_wrapper ( T &&  t_)
inline

Definition at line 97 of file simple.h.

◆ RAII_wrapper() [2/4]

template<typename T >
kblib::RAII_wrapper< T >::RAII_wrapper ( const T &  t_)
inline

Definition at line 99 of file simple.h.

◆ RAII_wrapper() [3/4]

template<typename T >
kblib::RAII_wrapper< T >::RAII_wrapper ( const RAII_wrapper< T > &  )
delete

◆ RAII_wrapper() [4/4]

template<typename T >
kblib::RAII_wrapper< T >::RAII_wrapper ( RAII_wrapper< T > &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
RAII_wrapper & kblib::RAII_wrapper< T >::operator= ( const RAII_wrapper< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
RAII_wrapper & kblib::RAII_wrapper< T >::operator= ( RAII_wrapper< T > &&  )
delete

Member Data Documentation

◆ t

template<typename T >
T kblib::RAII_wrapper< T >::t

Definition at line 94 of file simple.h.


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