-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P1518R2 Stop Overconstraining Allocators In Container Deduction Guides #2032
Conversation
tests/std/tests/P1518R2_stop_overconstraining_allocators/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
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.
Looks good
Co-authored-by: Michael Schellenberger Costa <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Thanks for implementing this CTAD paper!
tests/std/tests/P1518R2_stop_overconstraining_allocators/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P1518R2_stop_overconstraining_allocators/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/P1518R2_stop_overconstraining_allocators/test.compile.pass.cpp
Show resolved
Hide resolved
I'm mirroring this to an MSVC-internal PR. Changes can still be pushed during final review, but please notify me if that happens. |
Had to push a change to get this to pass in the internal test harness, which always wants to link and run tests (even if they're named |
Thanks for improving CTAD, one of my favorite features! 😻 🚀 🎉 |
Fixes #1974
https://wg21.link/P1518R2
I have a few questions:
It works with
clang-cl
and doesn't work withcl
. Is it me or the compiler has a bug?libc++ did it in C++17: llvm/llvm-project@dd15c27
Is it ok do same for compatibility with libc ++ tests?