---
name: "std::tr1::bad_function_call"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.5-8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::bad_function_call/3cxx"
---

# std::tr1::bad\_function\_call(3cxx)

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

## NAME

std::tr1::bad\_function\_call -

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

## SYNOPSIS

Inherits **std::exception**.

### Public Member Functions

virtual const char \* **what** () const   throw ()\

## Detailed Description

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

Definition at line 1370 of file tr1\_impl/functional.

## Member Function Documentation

### virtual const char\* std::exception::what () const throw ()` [virtual, inherited]` Returns a C-style character string describing the general cause of the current error.

Reimplemented in **std::bad\_exception**, **std::bad\_alloc**, **std::bad\_cast**, **std::bad\_typeid**, **std::lock\_error**, **std::logic\_error**, **std::runtime\_error**, and **std::ios\_base::failure**.

## Author

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