Functions
guard_exceptions.h File Reference

Go to the source code of this file.

Functions

template<class T , class E >
guard_exceptions (E error_code, T func)
 
template<class T >
void guard_exceptions (T &&func)
 

Function Documentation

◆ guard_exceptions() [1/2]

template<class T , class E >
E guard_exceptions ( error_code,
func 
)

Definition at line 29 of file guard_exceptions.h.

◆ guard_exceptions() [2/2]

template<class T >
void guard_exceptions ( T &&  func)

Definition at line 61 of file guard_exceptions.h.