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

P2321R2: Added std::views::zip_transform. #3322

Merged
merged 45 commits into from
Jan 28, 2023
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
78e37c8
Merge pull request #22 from microsoft/main
tylerbrawl Jan 2, 2023
df83425
Added the (untested) zip_transform_view implementation.
tylerbrawl Jan 3, 2023
b1e6feb
Removed an unnecessary static_assert.
tylerbrawl Jan 3, 2023
d7aa531
Updated `yvals_core.h` for `std::views::transform`.
tylerbrawl Jan 3, 2023
9c84f60
Removed an unneeded accessor function.
tylerbrawl Jan 3, 2023
9ab35fd
Improved some formatting.
tylerbrawl Jan 3, 2023
ab1e99c
Re-implemented the static_asserts for LWG-3773.
tylerbrawl Jan 3, 2023
d625a91
Began work on the test suite.
tylerbrawl Jan 3, 2023
2271c17
Added the test suite. (TODO: Work around Clang crash.)
tylerbrawl Jan 5, 2023
f63d266
Worked around various compiler crashes.
tylerbrawl Jan 5, 2023
e51cee0
Renamed typename -> class for style conformance.
tylerbrawl Jan 5, 2023
8e59640
Executed a ClangFormat pass on `<ranges>`.
tylerbrawl Jan 5, 2023
b704258
Added the `std::views::zip_transform` test to the STD test list.
tylerbrawl Jan 5, 2023
a9c18bd
Merge pull request #23 from tylerbrawl/zip-transform-tests
tylerbrawl Jan 5, 2023
f6ad5c2
Update stl/inc/ranges
tylerbrawl Jan 5, 2023
8e95f72
Update stl/inc/ranges
tylerbrawl Jan 5, 2023
5bba1dd
Simplified solving for `iterator_category`.
tylerbrawl Jan 5, 2023
8fefd79
Update stl/inc/ranges
tylerbrawl Jan 6, 2023
5c6ada2
Added constraints for the `std::views::zip_transform` CPO.
tylerbrawl Jan 6, 2023
3c63efe
Fixed the CPO constraints. (Thanks, @frederick-vs-ja!)
tylerbrawl Jan 6, 2023
ccacc78
Merge branch 'main' into zip-transform-base
tylerbrawl Jan 15, 2023
b7edee6
Explained why `strict` tests are necessary for `zip_transform_view`.
tylerbrawl Jan 15, 2023
c1b7100
Applied (most) suggested code changes from @StephanTLavavej.
tylerbrawl Jan 15, 2023
fc2eff5
Fixed a formatting error (sigh)...
tylerbrawl Jan 15, 2023
1b6c2ff
Labeled the `_Iterator_sentinel_difference_type` workaround as a `TRA…
tylerbrawl Jan 15, 2023
668d1f0
Added `view_interface::cbegin()` and `view_interface::cend()` tests.
tylerbrawl Jan 16, 2023
99df759
Merge branch 'main' into zip-transform-base
StephanTLavavej Jan 25, 2023
526696e
Use ranges::const_iterator_t/const_sentinel_t.
StephanTLavavej Jan 25, 2023
0d04fb0
Omit unnecessary std qualification.
StephanTLavavej Jan 25, 2023
37a4ee8
Omit unnecessary parentheses.
StephanTLavavej Jan 25, 2023
b7d6619
Extract Cat typedef.
StephanTLavavej Jan 25, 2023
89c48bd
Use more auto.
StephanTLavavej Jan 25, 2023
82b112c
Use less auto.
StephanTLavavej Jan 25, 2023
5628d15
Fix missing as_const().
StephanTLavavej Jan 25, 2023
aa12662
Comment nitpicks (some pre-existing).
StephanTLavavej Jan 25, 2023
a70c682
Omit unnecessary `-> decltype(auto)`.
StephanTLavavej Jan 25, 2023
e2b3e35
Rename parameters to avoid shadowing.
StephanTLavavej Jan 25, 2023
d27fdc1
Rename to _Subscript_closure.
StephanTLavavej Jan 27, 2023
a3a05ff
Rename to _Get_iterator_inner, drop explicit template args.
StephanTLavavej Jan 27, 2023
f263aec
Shorten _Iter_sent_difference_type.
StephanTLavavej Jan 27, 2023
f679771
Remove clang-format suppressions.
StephanTLavavej Jan 27, 2023
f23f476
Use C-style comments to avoid wrapping braces on the next line.
StephanTLavavej Jan 27, 2023
de3f047
Change _Is_end_noexcept to be a _CONSTEVAL function.
StephanTLavavej Jan 27, 2023
9a415a0
Work around internal compiler assertion.
StephanTLavavej Jan 27, 2023
6452c61
Work around /analyze memory consumption.
StephanTLavavej Jan 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading