MCPcopy Create free account
hub / github.com/boostorg/json / error_code make_error_code

Method error_code make_error_code

include/boost/json/impl/error.hpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102} // namespace detail
103
104inline
105BOOST_SYSTEM_CONSTEXPR
106system::error_code
107make_error_code(error e) noexcept
108{
109
110 return system::error_code(
111 static_cast<std::underlying_type<error>::type>(e),
112 detail::error_code_category );
113}
114
115inline
116BOOST_SYSTEM_CONSTEXPR

Callers

nothing calls this directly

Calls 1

error_codeClass · 0.85

Tested by

no test coverage detected