This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.
make_error_conditionare customization points
Section: 19.5 [syserr] Status: New Submitter: Jonathan Wakely Opened: 2021-10-31 Last modified: 2021-10-31
View all other issues in [syserr].
View all issues with New status.
The rule in 22.214.171.124 [contents] means that the calls to
make_error_code in 126.96.36.199 [syserr.errcode.constructors]
and 188.8.131.52 [syserr.errcode.modifiers] are required to call
which means program-defined error codes do not work.
The same applies to the
make_error_condition calls in
184.108.40.206 [syserr.errcondition.constructors] and
They need to use ADL. This is what all known implementations (including Boost.System) do.
[2022-01-29; Reflector poll]
Set priority to 2 after reflector poll.
This wording is relative to N4901.
Modify 19.5.2 [system.error.syn] as indicated:
-1- The value of each
enum errcconstant shall be the same as the value of the
<cerrno>macro shown in the above synopsis. Whether or not the
<system_error>implementation exposes the
<cerrno>macros is unspecified.
is_error_condition_enumtemplates may be specialized for program-defined types to indicate that such types are eligible for
class error_conditionimplicit conversions, respectively.