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: views::adjacent_transform, views::pairwise_transform #3546

Merged
merged 14 commits into from
Mar 17, 2023
Merged
Prev Previous commit
Next Next commit
Reattach comment.
StephanTLavavej committed Mar 8, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 1ee9d830c0339d377775fec036ce68b937149582
3 changes: 1 addition & 2 deletions tests/std/tests/P2321R2_views_adjacent_transform/test.cpp
Original file line number Diff line number Diff line change
@@ -783,8 +783,7 @@ constexpr bool test_one(Rng&& rng, Fn func, Expected&& expected_rng) {
STATIC_ASSERT(CanMemberBase<const R&> == copy_constructible<V>);
if constexpr (copy_constructible<V>) {
[[maybe_unused]] same_as<V> auto b1 = as_const(r).base();
STATIC_ASSERT(noexcept(as_const(r).base()) == is_nothrow_copy_constructible_v<V>);
// strengthened
STATIC_ASSERT(noexcept(as_const(r).base()) == is_nothrow_copy_constructible_v<V>); // strengthened
}

// Check adjacent_transform_view::base() &&