19 Diagnostics library [diagnostics]

19.5 System error support [syserr]

19.5.5 Class error_condition [syserr.errcondition]

19.5.5.5 Non-member functions [syserr.errcondition.nonmembers]

error_condition make_error_condition(errc e) noexcept;
Returns: error_condition(static_cast<int>(e), generic_category()).