Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::odr_violation Class Reference

Exception class that is used to indicate ODR violation. More...

#include <exceptions.hpp>

Inheritance diagram for boost::odr_violation:
Collaboration diagram for boost::odr_violation:

Public Member Functions

 odr_violation ()
 Default constructor. More...
 
 odr_violation (std::string const &descr)
 Initializing constructor. More...
 
 ~odr_violation () throw ()
 Destructor. More...
 

Static Public Member Functions

static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line)
 
static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line, std::string const &descr)
 

Detailed Description

Exception class that is used to indicate ODR violation.

Constructor & Destructor Documentation

boost::odr_violation::odr_violation ( )

Default constructor.

Creates an exception with the default error message.

boost::odr_violation::odr_violation ( std::string const &  descr)
explicit

Initializing constructor.

Creates an exception with the specified error message.

boost::odr_violation::~odr_violation ( )
throw (
)

Destructor.

Member Function Documentation

static BOOST_LOG_NORETURN void boost::odr_violation::throw_ ( const char *  file,
std::size_t  line 
)
static
static BOOST_LOG_NORETURN void boost::odr_violation::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr 
)
static

The documentation for this class was generated from the following file: