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

Function make_error_id

include/boost/leaf/error.hpp:796–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794namespace detail
795{
796 BOOST_LEAF_CONSTEXPR inline error_id make_error_id( int err_id ) noexcept
797 {
798 BOOST_LEAF_ASSERT(err_id == 0 || (err_id&3) == 1);
799 return error_id((err_id&~3)|1);
800 }
801}
802
803BOOST_LEAF_ATTRIBUTE_NODISCARD inline error_id new_error()

Callers 5

new_errorFunction · 0.85
current_errorFunction · 0.85
get_error_idMethod · 0.85
checkMethod · 0.85
assigned_error_idMethod · 0.85

Calls 1

error_idClass · 0.70

Tested by

no test coverage detected