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

Class catch_

include/boost/leaf/pred.hpp:259–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257
258template <class... Ex>
259struct catch_
260{
261 using error_type = void;
262 std::exception const & matched;
263
264 BOOST_LEAF_CONSTEXPR static bool evaluate(std::exception const & ex) noexcept
265 {
266 return detail::check_exception_pack(ex, static_cast<Ex const *>(nullptr)...);
267 }
268};
269
270template <class Ex>
271struct catch_<Ex>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected