Boost C++ Libraries

PrevUpHomeNext

Function throw_exception_from_error

boost::taar::throw_exception_from_error — ADL hook used by result<T>::value(): throws boost::taar::exception.

Synopsis

// In header: <boost/taar/core/error.hpp>


void throw_exception_from_error(failure const & f, 
                                boost::source_location const & loc);

Description

The failure is thrown as is; its own failure::where is kept and loc (the value() call site) is not recorded.


PrevUpHomeNext