-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement P2505R5 Monadic Functions For std::expected #3361
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
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
408091d
Implement P2505R5 Monadic Functions for std::expected
TartanLlama d5ac1ae
Merge branch 'main' of https://github.com/microsoft/STL
TartanLlama 30d8417
Clang format
TartanLlama d70650e
Correct type traits
TartanLlama 5429dea
Fix copy paste errors
TartanLlama fb3af74
Test constexpr
TartanLlama 1bb9f01
Update test paths
TartanLlama 0bf5fc7
Update test paths
TartanLlama c859ed5
Feature test macro
TartanLlama 4757c75
Remove this->
TartanLlama e80e0a3
Rename test variables
TartanLlama 54f2c16
Add const to tests
TartanLlama f8ec9af
Update test expectations for libc++
TartanLlama 6ec9f92
Revert optional test change
TartanLlama fad0972
Remove std qualification
TartanLlama c9118c2
Clang format
TartanLlama 8152435
Update expected and skipped results
TartanLlama 8a25911
Remove extra newlines
TartanLlama d79e935
Change test matrix
TartanLlama d1af894
Change typename to class
TartanLlama 5d208a6
Change static assert message to reflect standard
TartanLlama 0a5d866
Change static assert message to reflect standard
TartanLlama ad69aa5
Remove bad ref qualifier from function type
TartanLlama fbf5e81
Fix standards citations
TartanLlama 302de13
Merge branch 'main' of github.com:TartanLlama/STL
TartanLlama 46c2340
Fix more citations
TartanLlama fadf2f4
Fix more standards citations
TartanLlama 1cedf67
Fix more standards citations
TartanLlama c76f98f
Remove && from type trait arguments which will go through declval
TartanLlama ac441f4
Add static_asserts for and_then
TartanLlama ab446ed
Correct slashes
TartanLlama 51e2279
Fix syntax error
TartanLlama 2bf4e1c
Remove unnecessary default constructor in test
TartanLlama d1fe692
Use =default instead of {} in test
TartanLlama 292847d
Assert that error_type is int in tests
TartanLlama a2acbdb
Fix incorrect comment locations
TartanLlama cc7436f
Fix noexcept specifications
TartanLlama 211ec58
Guard temporary materialisation bugs
TartanLlama ef5a116
Improve transform and transform_error diagnostics
TartanLlama 5a9e4d4
Casey's review comments
CaseyCarter c175fe6
Add test for error_or({})
TartanLlama 42e91d2
Merge branch 'main' of github.com:TartanLlama/STL
TartanLlama 57818d6
Address video review comments
TartanLlama ba9ef72
clang-format
CaseyCarter cc9376e
Add spaces when wrapping string literals.
StephanTLavavej a502b40
Cite [expected.void.monadic].
StephanTLavavej e8e5b8a
Enforce the error_type mandates for expected<void, E>::and_then.
StephanTLavavej 0495ad3
Throughput-optimize invocation with no args, add comments.
StephanTLavavej da08d2c
BRACES FOR THE BRACE THRONE!
StephanTLavavej 096ace6
Improve citation consistency.
StephanTLavavej 393faff
Add assert(result) and assert(!result) for consistency.
StephanTLavavej 28df789
Use a unique value 2000.
StephanTLavavej 68dd1d3
Merge branch 'main' into monadic_expected
StephanTLavavej b08896c
Correct "equivalent to invoke()" comments
CaseyCarter 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
4 changes: 4 additions & 0 deletions
4
tests/std/tests/P2505R5_monadic_functions_for_std_expected/env.lst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
||
RUNALL_INCLUDE ..\concepts_latest_matrix.lst |
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.