libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
Attempt to include function-call information for the function from which the exception was constructed. More...
#include <info.hpp>
Classes | |
class | argument |
Attempt to include argument information for the function from which the exception was constructed. More... | |
Public Types | |
typedef std::vector< argument > | args_details_type |
Public Member Functions | |
NEVER_INLINE __stdcall | function (const unsigned long l=__LINE__, const char *n=NULL, const std::type_info &th=typeid(void), const argument &a=argument(_T("void"), _T("nothing"))) noexcept(false) |
void NEVER_INLINE __fastcall | add_arg (argument &&a) noexcept(false) |
template<class ... Args> | |
void NEVER_INLINE __fastcall | add_args (Args &&...a) noexcept(false) |
template<typename Arg_Val > | |
void NEVER_INLINE __fastcall | add_arg (tstring &&n, const Arg_Val &v) noexcept(false) |
Static Public Member Functions | |
static constexpr std::size_t | max_size () noexcept(true) |
Static Public Attributes | |
static constexpr std::size_t | max_args =10 |
Friends | |
tostream &__fastcall | operator<< (tostream &o, const function &fi) noexcept(false) |
Attempt to include function-call information for the function from which the exception was constructed.
Use of the macros JMMCG_FUNCTION (for no arguments) & JMMCG_FUNCTION1 (for one argument) make use of this object for constructing an exception easier.
typedef std::vector<argument> jmmcg::LIBJMMCG_VER_NAMESPACE::info::function::args_details_type |
|
inlineexplicitnoexcept |
Definition at line 132 of file info.hpp.
References function().
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_mutex::anon_mutex(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_semaphore::anon_semaphore(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::condition_var::condition_var(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_semaphore::count(), function(), jmmcg::LIBJMMCG_VER_NAMESPACE::checked_dynamic_cast< To, Excpt >::operator()(), and jmmcg::LIBJMMCG_VER_NAMESPACE::syscall::traits_base< FailureTraits, Args >::report_error().
|
inlinenoexcept |
Definition at line 137 of file info.hpp.
Referenced by add_arg(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_mutex::anon_mutex(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_semaphore::anon_semaphore(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::pthreads::anon_semaphore::count(), jmmcg::LIBJMMCG_VER_NAMESPACE::checked_dynamic_cast< To, Excpt >::operator()(), and isimud::ISIMUD_VER_NAMESPACE::order_book< MsgType >::place().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |
Definition at line 164 of file info.hpp.
References max_args, and jmmcg::LIBJMMCG_VER_NAMESPACE::info::function::argument::max_size().
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::exception< API, Mdl >::max_size().
|
friend |
|
inlinestaticconstexpr |
Definition at line 130 of file info.hpp.
Referenced by max_size().