-
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
Prepare the constexpr machinery needed for string and vector #1546
Conversation
6e347e9
to
cb4f529
Compare
5167f9b
to
b03c708
Compare
I rebased this upon the latest changes and included the mutable fix. |
I believe we need a new define. Once the next preview is out, we want to switch this around and activate all the machinery for MSVC only due to the clang bug that prevents construction of mutable subobjects during constant evaluation. At the same time we should not deactivate the machinery for allocations during constant evalutions. My proposal would be to move to |
I think you're right. To recap the situation: However, even once we have the next preview, we will still be blocked for Clang by Bug 48606 so we want some new macro that will be The only way that we could use |
6e4201e
to
b3140a4
Compare
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.
I did a full review of the changes, and I think we're in pretty good shape! Just a few small changes and one potential bug (in _Uninitialized_copy_unchecked
)!
Awesome, thanks a lot! |
This is blocked by DevCom-1328628 "SFINAE bug when a default argument is I may be able to prepare a workaround. |
Thanks for implementing this machinery and finding so many bugs in so many compilers! 😹 ⚙️ 🪲 🪲 🪲 |
This is a precursor for #1407 and #1502
The hope is that this can more easily flesh out the clang bugs