[syserr] Should make_error_code
and make_error_condition
be found by ADL? LWG3629
#4577
Labels
lwg
Issue must be reviewed by LWG.
not-editorial
Issue is not deemed editorial; the editorial issue is kept open for tracking.
[syserr.errcode.constructors]/4 and [syserr.errcode.modifiers]/3 have a postcondition:
Similarly, [syserr.errcondition.constructors]/4 and [syserr.errcondition.modifiers]/3 have a postcondition:
Per [contents]/3 these should be treated as qualified calls. But all implementations (MSVC, libstdc++, libc++, Boost) use unqualified call.
I believe that the intent is to find program-defined
make_error_code
andmake_error_condition
. That is, the specification should clarify that these functions are found by ADL.The text was updated successfully, but these errors were encountered: