YACLib
C++ library for concurrent tasks execution
|
#include <safe_call.hpp>
Public Types | |
using | Store = std::decay_t< Func > |
using | Invoke = std::conditional_t< std::is_function_v< std::remove_reference_t< Func > >, Store, Func > |
Public Member Functions | |
SafeCall (Store &&f) noexcept(std::is_nothrow_move_constructible_v< Store >) | |
SafeCall (const Store &f) noexcept(std::is_nothrow_copy_constructible_v< Store >) | |
Protected Member Functions | |
void | Call () noexcept |
Definition at line 11 of file safe_call.hpp.
using yaclib::detail::SafeCall< Func >::Invoke = std::conditional_t<std::is_function_v<std::remove_reference_t<Func> >, Store, Func> |
Definition at line 14 of file safe_call.hpp.
Definition at line 13 of file safe_call.hpp.
|
inlineexplicitnoexcept |
Definition at line 16 of file safe_call.hpp.
|
inlineexplicitnoexcept |
Definition at line 19 of file safe_call.hpp.
|
inlineprotectednoexcept |
Definition at line 23 of file safe_call.hpp.