| 89 | */ |
| 90 | template<concepts::error_enum ErrorEnum> |
| 91 | inline auto make_error_code(ErrorEnum e) -> std::error_code |
| 92 | { |
| 93 | return {static_cast<int>(e), generic_error_category<ErrorEnum>::instance()}; |
| 94 | } |
| 95 | |
| 96 | using cxx23::bad_expected_access; |
| 97 | using cxx23::expected; |
no outgoing calls
no test coverage detected