-
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
Implement P2273R3 constexpr
unique_ptr
#2582
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P2273R3_constexpr_unique_ptr/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
Thanks! The product code looked perfect, couldn't find even a single nitpick. 😻 Had a few suggestions for the test, but they were all tiny, so I went ahead and pushed changes for them. |
Wait unique_ptr is now constexpr? nice. |
I've pushed a merge with I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for implementing and carefully testing this feature! 🚀 ✅ 😻 |
Fixes #2535
I added tests and they pass with
clang-cl
and fail withcl.exe
andEDG
:((The test now contains workarounds citing DevCom-1436243 and DevCom-1670927.)