19 General utilities library [utilities]

19.14 Function objects [function.objects]

19.14.14 Polymorphic function wrappers [func.wrap]

19.14.14.1 Class bad_­function_­call [func.wrap.badcall]

An exception of type bad_­function_­call is thrown by function::operator() ([func.wrap.func.inv]) when the function wrapper object has no target.
namespace std {
  class bad_function_call : public exception {
  public:
    // [func.wrap.badcall.const], constructor
    bad_function_call() noexcept;
  };
}

19.14.14.1.1 Constructor [func.wrap.badcall.const]

bad_function_call() noexcept;
Effects: Constructs a bad_­function_­call object.
Ensures: what() returns an implementation-defined ntbs.