carb::cpp17::is_nothrow_invocable¶
Defined in carb/cpp17/TypeTraits.h
Inheritance Relationships¶
Base Type¶
public detail::is_nothrow_invocable_impl< void, Func, TArgs... >
-
template<typename
Func
, typename ...TArgs
>
structis_nothrow_invocable
: public detail::is_nothrow_invocable_impl<void, Func, TArgs...>¶ Check if invoking
Func
with theTArgs
pack will not throw.If
Func
called with the givenTArgs
pack is callable and markednoexcept
, then this structure will derive fromtrue_type
; otherwise, it will befalse_type
. IfFunc
is not callable at all, then this will also befalse_type
.This is equivalent to the C++17
is_nothrow_invocable
meta query.