cppreference.com
创建账户
登录
命名空间
页面
讨论
变体
视图
视图
编辑
历史
操作
std::ranges::zip_view
的推导指南
来自 cppreference.com
<
cpp
|
ranges
|
zip view
C++
编译器支持
独立和托管
语言
标准库
标准库头文件
命名需求
特性测试宏
(C++20)
语言支持库
概念库
(C++20)
元编程库
(C++11)
诊断库
通用实用工具库
字符串库
容器库
迭代器库
范围库
(C++20)
算法库
数值库
本地化库
输入/输出库
文件系统库
(C++17)
正则表达式库
(C++11)
并发支持库
(C++11)
执行支持库
(C++26)
技术规范
符号索引
外部库
[编辑]
范围库
范围访问
begin
cbegin
end
cend
rbegin
crbegin
rend
crend
size
ssize
data
cdata
empty
范围转换
std::from_range_t
std::from_range
(C++23)
(C++23)
to
(C++23)
悬垂迭代器处理
dangling
borrowed_iterator_t
borrowed_subrange_t
范围原语
range_size_t
range_difference_t
range_value_t
elements_of
(C++23)
iterator_t
const_iterator_t
sentinel_t
const_sentinel_t
(C++23)
(C++23)
range_reference_t
range_const_reference_t
range_rvalue_reference_t
range_common_reference_t
(C++23)
范围概念
range
borrowed_range
sized_range
common_range
view
viewable_range
input_range
output_range
forward_range
bidirectional_range
random_access_range
contiguous_range
constant_range
(C++23)
视图
view_interface
subrange
范围工厂
empty_view
views::empty
single_view
views::single
basic_istream_view
views::istream
iota_view
views::iota
repeat_view
views::repeat
(C++23)
(C++23)
范围适配器
views::all_t
views::all
ref_view
owning_view
as_rvalue_view
views::as_rvalue
(C++23)
(C++23)
filter_view
views::filter
transform_view
views::transform
take_view
views::take
take_while_view
views::take_while
concat_view
views::concat
(C++26)
(C++26)
drop_view
views::drop
drop_while_view
views::drop_while
join_view
views::join
join_with_view
views::join_with
(C++23)
(C++23)
lazy_split_view
views::lazy_split
split_view
views::split
views::counted
common_view
views::common
reverse_view
views::reverse
as_const_view
views::as_const
(C++23)
(C++23)
elements_view
views::elements
keys_view
views::keys
values_view
views::values
enumerate_view
views::enumerate
(C++23)
(C++23)
zip_view
views::zip
(C++23)
(C++23)
zip_transform_view
views::zip_transform
(C++23)
(C++23)
adjacent_view
views::adjacent
(C++23)
(C++23)
views::pairwise
(C++23)
adjacent_transform_view
views::adjacent_transform
(C++23)
(C++23)
views::pairwise_transform
(C++23)
chunk_view
views::chunk
(C++23)
(C++23)
slide_view
views::slide
(C++23)
(C++23)
chunk_by_view
views::chunk_by
(C++23)
(C++23)
stride_view
views::stride
(C++23)
(C++23)
cartesian_product_view
views::cartesian_product
(C++23)
(C++23)
范围生成器
std::generator
(C++23)
范围适配器闭包对象
range_adaptor_closure
(C++23)
范围适配器对象
辅助项
copyable-box
movable-box
(直到 C++23)
(C++23)
simple-view
non-propagating-cache
[编辑]
std::ranges::zip_view
成员函数
zip_view::zip_view
zip_view::begin
zip_view::end
zip_view::size
推导指南
迭代器
成员函数
zip_view::
iterator
::
iterator
zip_view::
iterator
::operator*
zip_view::
iterator
::operator[]
zip_view::
iterator
::operator++
zip_view::
iterator
::operator++
(int)
zip_view::
iterator
::operator--
zip_view::
iterator
::operator--
(int)
zip_view::
iterator
::operator+=
zip_view::
iterator
::operator-=
非成员函数
operator==
(zip_view::
iterator
)
operator<
(zip_view::
iterator
)
operator>
(zip_view::
iterator
)
operator<=
(zip_view::
iterator
)
operator>=
(zip_view::
iterator
)
operator<=>
(zip_view::
iterator
)
operator+
(zip_view::
iterator
)
operator-
(zip_view::
iterator
)
iter_move
(zip_view::
iterator
)
iter_swap
(zip_view::
iterator
)
哨兵
成员函数
zip_view::
sentinel
::
sentinel
非成员函数
operator==
(zip_view::
iterator
,zip_view::
sentinel
)
operator-
(zip_view::
iterator
,zip_view::
sentinel
)
[编辑]
template
<
class
...
Rs
>
zip_view
(
Rs
&&
...
)
-
>
zip_view
<
views::
all_t
<
Rs
>
...
>
;
(自 C++23 起)
为
std::ranges::zip_view
提供了
推导指南
,允许从
range
中推导。
[
编辑
]
示例
本节内容不完整
原因:示例
类别
:
待办事項及原因