Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class bad_function_call

boost::bad_function_call — An exception type thrown when an instance of a function object is empty when invoked.

Synopsis

// In header: <boost/function.hpp>


class bad_function_call : public std::runtime_error {
public:
  // construct/copy/destruct
  bad_function_call();
};

Description

bad_function_call public construct/copy/destruct

  1. bad_function_call();

    Effects:

    Constructs a bad_function_call exception object.

PrevUpHomeNext