std::ranges::views::common, std::ranges::common_view
From cppreference.com
Defined in header <ranges>
|
||
template< ranges::view V > requires (not ranges::common_range<V> and |
(1) | (since C++20) |
namespace views { inline constexpr /* unspecified */ common = /* unspecified */; |
(2) | (since C++20) |
Call signature |
||
template< ranges::viewable_range R > requires /* see below */ |
(since C++20) | |
1) Adapts a given
view
with different types for iterator/sentinel pair into a view
that is also a common_range
. A common_view
always has the same iterator/sentinel type.2)