-
Notifications
You must be signed in to change notification settings - Fork 0
Rewrite container parsing #61
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 61 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
f748c82
Fix incorrectly swapped template arguments
yaito3014 364dd0c
Fix more swapped argument
yaito3014 05a03e5
Restore `is_substitute` specialization for variant
yaito3014 f680cf2
Move `is_substitution` test to separate file
yaito3014 f2b5afb
Add `variant_has_substitute` test
yaito3014 7b6636f
Minor renaming
yaito3014 da4c936
Rename `is_substitute` to `can_hold`
yaito3014 2adb1f4
Remove test
yaito3014 d2dca4b
Disable test
yaito3014 bde2641
Remove variant_has_substitute
yaito3014 347796b
Replace specific usage of `can_hold` with `is_same`
yaito3014 1c28be8
Stricten `can_hold` for non-variant types
yaito3014 1959100
Merge branch 'main' into fix-swapped-template-argument
yaito3014 b53bc4b
Add comments
yaito3014 4c60498
Remove can_hold_impl
yaito3014 e37512f
Suppress warning
yaito3014 34bad4a
Add TODO comment
yaito3014 a192159
Loosen `can_hold` more
yaito3014 81af262
Revert "Loosen `can_hold` more"
yaito3014 0dded48
Fix incorrect test
yaito3014 ad13cf4
Fix `x_attr`
yaito3014 515aec3
Fix `container_value`
yaito3014 fe56942
Rewrite parse_into_container with constexpr if
yaito3014 3d9ed7d
Refine `custom_container`
yaito3014 087d53a
TEST
yaito3014 50038f6
Refactor container handling
yaito3014 47e8f66
Fix handling of container of container
yaito3014 0df97a3
Add test and comment
yaito3014 859dc94
Replace some rule parsers with as_parser
yaito3014 542ff6f
Make `as_directive` derive subject's `handles_container`
yaito3014 9d9ed37
Remove comment
yaito3014 e6ae585
Create both `rule` and `as` versions of tests
yaito3014 0fc320c
Revert one of changes made in 859dc949b94d60fbd964c9442b20d08ce41c61a4
yaito3014 ba6f835
Create both `rule` and `as` versions of tests 2
yaito3014 385be3f
Fix styling
saki7 e553854
Temporarily disable "rule version" of tests
saki7 beb8d24
Fix test
yaito3014 0281e1b
Fix stupid mistake
yaito3014 83431f3
Add special handling for optional
yaito3014 bceaf58
Move `can_hold`'s primary definition to top
yaito3014 7ac31fe
Use `handles_container`
yaito3014 c8f93a6
Disable recursive_tuple test
yaito3014 85b55ab
Rename `handles_container` to `maybe_handles_container`
yaito3014 0fd23e6
Add more strict `handles_container` and use it for container handling
yaito3014 16a3c64
Rename `build_container` to `default_container`
yaito3014 9c5fb77
Remove debug purpose test
yaito3014 78c8899
Remove `raw` directive
yaito3014 b9836ef
Merge branch 'main' into rewrite-container-parsing
yaito3014 44a4b5a
Restore `recursive_tuple` test
yaito3014 e749114
Revert "Temporarily disable "rule version" of tests"
yaito3014 3f21246
Restore recursive container test
yaito3014 d672073
Remove raw.cpp
yaito3014 f2c3236
Add test
yaito3014 4dd5f58
Remove `maybe_handles_container`
yaito3014 13bab77
Remove subrange handling from `move_to`
yaito3014 8b57600
Remove `traits::can_hold_v`
yaito3014 d587e5b
Remove `variant_find_holdable_type_t`
yaito3014 27b1e11
Remove variant_has_exact_type_v
yaito3014 5afb603
Remove `is_sequence_suitable_for_container_v`
yaito3014 be944eb
Add static assert
yaito3014 873f6a7
Fix spacing, fix noexcept
yaito3014 755e2f4
Split static_assert
yaito3014 0f14a14
Fix noexcept
yaito3014 f582b9e
Fix noexcept 2
yaito3014 ff7d897
Remove subrange_traits.hpp
yaito3014 31764e7
Add `move_to` test
yaito3014 79f07fc
Add test related to `forward_like`
yaito3014 80c4b06
Add test
yaito3014 9bf027b
Rename test "attribute" to "partial_success"
saki7 6c7a2e8
Update iris
saki7 cba7796
Fix broken container trait handling for sequence and `as`
saki7 d9bcb1f
Fix `plus`'s partial success
saki7 97cf66e
Revert "Update iris"
saki7 69e79c1
Fix `kleene`'s partial success
saki7 5b092f7
Fix `list`'s partial success
saki7 c4472b7
Fix `repeat`'s partial success
saki7 fec77a7
Add partial success test for `tuple<char, string, char>`
saki7 baccc7b
Remove `_where` and `subrange_attr`
saki7 8b1d983
Update iris
saki7 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
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
Oops, something went wrong.
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.