momo  3.12
momo::internal::Catcher Class Reference

#include <FunctionUtility.h>

Classes

class  AllowExceptionSuppression
 
class  AllowExceptionSuppression< Settings, typename std::decay< decltype(Settings::allowExceptionSuppression)>::type >
 

Static Public Member Functions

template<typename... Args>
static Finalizer< void(*)(Args...)> Finalize (void(*func)(Args...), Identity< Args >... args) noexcept
 
template<typename Class , typename... Args>
static Finalizer< void(Class::*)(Args...)> Finalize (void(Class::*func)(Args...), Identity< Class > &object, Identity< Args >... args) noexcept
 
template<typename Functor , typename... Args>
static bool CatchAll (Functor &&func, Args &&... args) noexcept
 

Member Function Documentation

◆ CatchAll()

template<typename Functor , typename... Args>
static bool momo::internal::Catcher::CatchAll ( Functor &&  func,
Args &&...  args 
)
inlinestaticnoexcept

◆ Finalize() [1/2]

template<typename... Args>
static Finalizer<void (*)(Args...)> momo::internal::Catcher::Finalize ( void(*)(Args...)  func,
Identity< Args >...  args 
)
inlinestaticnoexcept

◆ Finalize() [2/2]

template<typename Class , typename... Args>
static Finalizer<void (Class::*)(Args...)> momo::internal::Catcher::Finalize ( void(Class::*)(Args...)  func,
Identity< Class > &  object,
Identity< Args >...  args 
)
inlinestaticnoexcept

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