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

Function is_error_id

include/boost/leaf/error.hpp:664–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662} // namespace detail
663
664inline bool is_error_id( std::error_code const & ec ) noexcept
665{
666 bool res = (&ec.category() == &detail::get_leaf_error_category<>::cat);
667 BOOST_LEAF_ASSERT(!res || !ec.value() || ((ec.value()&3) == 1));
668 return res;
669}
670
671#endif // #if BOOST_LEAF_CFG_STD_SYSTEM_ERROR
672

Callers 2

testFunction · 0.85
test_voidFunction · 0.85

Calls 1

valueMethod · 0.45

Tested by 2

testFunction · 0.68
test_voidFunction · 0.68