Skip to content
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

Merged
merged 12 commits into from
Mar 17, 2022
Merged

Conversation

fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented Feb 19, 2022

Fixes #2535

I added tests and they pass with clang-cl and fail with cl.exe and EDG :(

(The test now contains workarounds citing DevCom-1436243 and DevCom-1670927.)

@fsb4000 fsb4000 requested a review from a team as a code owner February 19, 2022 15:37
@AlexGuteniev

This comment was marked as resolved.

@fsb4000

This comment was marked as resolved.

@CaseyCarter CaseyCarter added the cxx23 C++23 feature label Feb 21, 2022
@StephanTLavavej StephanTLavavej self-assigned this Feb 23, 2022
@StephanTLavavej StephanTLavavej removed their assignment Mar 3, 2022
@StephanTLavavej
Copy link
Member

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.

@AraHaan
Copy link

AraHaan commented Mar 3, 2022

Wait unique_ptr is now constexpr? nice.

@barcharcraz barcharcraz removed their assignment Mar 12, 2022
@StephanTLavavej
Copy link
Member

I've pushed a merge with main to resolve a trivial adjacent-add conflict in yvals_core.h.

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej self-assigned this Mar 15, 2022
@StephanTLavavej StephanTLavavej merged commit 430bb0a into microsoft:main Mar 17, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing and carefully testing this feature! 🚀 ✅ 😻

@fsb4000 fsb4000 deleted the fix2535 branch March 17, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx23 C++23 feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2273R3 constexpr unique_ptr
7 participants
  翻译: