std::bad_function_call(3)

std::bad_function_call3

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

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. Arch

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.