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 unexpected_call

boost::log::unexpected_call — Exception class that is used to indicate invalid call sequence.

Synopsis

// In header: <boost/log/exceptions.hpp>


class unexpected_call : public logic_error {
public:
  // construct/copy/destruct
  unexpected_call();
  explicit unexpected_call(std::string const &);
  ~unexpected_call();
};

Description

unexpected_call public construct/copy/destruct

  1. unexpected_call();

    Default constructor. Creates an exception with the default error message.

  2. explicit unexpected_call(std::string const & descr);

    Initializing constructor. Creates an exception with the specified error message.

  3. ~unexpected_call();

    Destructor


PrevUpHomeNext