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 for the latest Boost documentation.
PrevUpHomeNext

Function template check_error_code

boost::scope::check_error_code — Creates a predicate for checking whether an exception is being thrown.

Synopsis

// In header: <boost/scope/error_code_checker.hpp>


template<typename ErrorCode> 
  error_code_checker< ErrorCode > check_error_code(ErrorCode & ec);

Description

Throws: Nothing.


PrevUpHomeNext