-
Notifications
You must be signed in to change notification settings - Fork 1.6k
P2231 Completing constexpr in optional and variant #2005
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
Merged
StephanTLavavej
merged 41 commits into
microsoft:main
from
miscco:P2231-constexpr-optional
Aug 26, 2021
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
74f872b
Implement P2231R1 Completing constexpr In optional
miscco f9e4e18
Implement P2231R1 Completing constexpr in variant
miscco f77c5aa
Properly test the feature test macros
miscco 0c36ad9
Address review comments
miscco ca40908
Make the test pass
miscco 09eff91
Fix typo
miscco 23d7fc1
FAIL
miscco 6ff6d9a
Add some optional tests
miscco 5a956d7
Add nullopt tests
miscco 20bdbff
Add variant tests
miscco d5cd6f5
Avoid UB in variant::_Emplace_valueless
miscco 4268ae0
finx invalid template emplace
miscco 3683d90
Be more consstent with the assignment operator
miscco 43ddb95
Minor cleanups
miscco d33b6c2
Work around DevCom-1331017
miscco 3c820d7
Do not work with an empty dumy struct
miscco 9a3c126
Merge branch 'main' into P2231-constexpr-optional
miscco 8e7f2ab
Unblock for clang / EDG
miscco 692580f
Minor bugfix
miscco 4a1c79e
Remove workaround as we do not enable the feature for MSVC
miscco 2fe73d6
Fix test
miscco 5a71a67
Merge branch 'main' into P2231-constexpr-optional
miscco 7e7867c
Stealth merge conflict: `_CONSTEXPR20_DYNALLOC` to `_CONSTEXPR20`.
StephanTLavavej 89186b9
`_CONSTEXPR20_VARIANT` => `_CONSTEXPR20` in product code.
StephanTLavavej 4f6046f
Use `constexpr` unconditionally in `P2231R1_complete_constexpr_option…
StephanTLavavej 2a3d31e
Rework feature-test macros.
StephanTLavavej 7b66988
Update `is_literal_type<optional<T>>` test.
StephanTLavavej cd2b0e0
Update `tests/libcxx/expected_results.txt`.
StephanTLavavej fa1535d
256 is now too big (32-bit Clang runs out of memory).
StephanTLavavej aac8599
Disable constexpr optional / variant for MSVC
miscco a2c4d94
Minor test cleanup
CaseyCarter 4ab846a
s/destrut/destruct/g
CaseyCarter 0d4d285
Update skip lists
CaseyCarter 5e75f52
typo "defaut_constructed"
CaseyCarter ad71e32
Annotate the bug avoidance conditions with "TRANSITION, FIXME"
CaseyCarter 7bad01b
Localize test failures
CaseyCarter 76dd30e
The bug is, in fact, DevCom-1331017
CaseyCarter 79fbac8
Update tests/std/tests/P2231R1_complete_constexpr_optional_variant/te…
CaseyCarter 5c46fd9
Merge branch 'main' into P2231-constexpr-optional
StephanTLavavej 3024814
Test `optional` construction from different `optional` types.
StephanTLavavej 36b929c
Rename all the things
miscco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.