boost::log::odr_violation — Exception class that is used to indicate ODR violation.
// In header: <boost/log/exceptions.hpp> class odr_violation : public logic_error { public: // construct/copy/destruct odr_violation(); explicit odr_violation(std::string const &); ~odr_violation(); };