[func.wrap.badcall] (original) (raw)
20 General utilities library [utilities]
20.14 Function objects [function.objects]
20.14.17 Polymorphic function wrappers [func.wrap]
20.14.17.2 Class bad_function_call [func.wrap.badcall]
An exception of type bad_function_call is thrown byfunction::operator() ([func.wrap.func.inv]) when the function wrapper object has no target.
namespace std { class bad_function_call : public exception { public: const char* what() const noexcept override;};}
const char* what() const noexcept override;
Returns: Animplementation-defined ntbs.