-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LWG 3] P2407R5 Freestanding Library: Partial Classes #6702
Conversation
@jensmaurer, @jwakely is changing |
ace9d8e
to
397a5a6
Compare
source/support.tex
Outdated
@@ -635,6 +635,8 @@ | |||
#define @\defnlibxname{cpp_lib_format_ranges}@ 202207L // also in \libheader{format} | |||
#define @\defnlibxname{cpp_lib_formatters}@ 202302L // also in \libheader{stacktrace}, \libheader{thread} | |||
#define @\defnlibxname{cpp_lib_forward_like}@ 202207L // freestanding, also in \libheader{utility} | |||
#define @\defnlibxname{cpp_lib_freestanding_algorithm}@ 202311L // freestanding, also in \libheader{algorithm} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jensmaurer, @jwakely Please note that I'm reconciling this with Motion 2 by adding <numeric>
here, too, for the saturation arithmetic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jwakely OK, we should make a decision here. Adding a new macro for numeric
seems reasonable, too, shall I go ahead with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think so. I've pinged Barry and Ben on the PR for that change, for extra eyes.
Hm, why is there even a separate commit for the |
bcc75c7
to
0414c36
Compare
The cpp_lib_freestanding_algorithm macro was created by this paper (LWG Motion 3, P2407R5), but the previous paper (LWG-2, P0543R3) already added to the freestanding algorithms, so it should also define this feature test macro.
0414c36
to
148e03a
Compare
Unfortunately, 3973 was badly broken, see LWG 4015. But in terms of what's actually been approved for the draft, I think 3973 takes precedence, despite being broken :-( 3973 was explicitly intended to "fix" the changes made here to avoid ADL for |
@jwakely So shoud we change |
Sending a follow-up commit now. |
Fixes #6661
Fixes cplusplus/papers#1077