MCPcopy Create free account
hub / github.com/boostorg/leaf / get_exception

Function get_exception

include/boost/leaf/handle_errors.hpp:839–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837
838 template <class Ex>
839 BOOST_LEAF_CONSTEXPR inline Ex * get_exception( error_info const & ei )
840 {
841 return dynamic_cast<Ex *>(ei.exception());
842 }
843
844 template <class, class T>
845 struct dependent_type { using type = T; };

Callers

nothing calls this directly

Calls 1

exceptionMethod · 0.80

Tested by

no test coverage detected