std::bad_function_call(3cxx)

std::bad_function_call3cxx

Exception class thrown when class template function's operator() is called with an empty target.

Usage

#include <functional>

Inherits std::exception.

Public Member Functions

const char * what () const noexcept

Detailed Description

Exception class thrown when class template function's operator() is called with an empty target.

Member Function Documentation

const char * std::bad_function_call::what () const [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.