cppreference.com
创建帐户
登录
命名空间
页面
讨论
变体
视图
视图
编辑
历史
操作
std::basic_const_iterator<Iter>::
base
来自 cppreference.com
<
cpp
|
iterator
|
basic const iterator
C++
编译器支持
独立和托管
语言
标准库
标准库头文件
命名要求
特性测试宏
(C++20)
语言支持库
概念库
(C++20)
元编程库
(C++11)
诊断库
通用实用程序库
字符串库
容器库
迭代器库
范围库
(C++20)
算法库
数值库
本地化库
输入/输出库
文件系统库
(C++17)
正则表达式库
(C++11)
并发支持库
(C++11)
执行支持库
(C++26)
技术规范
符号索引
外部库
[编辑]
迭代器库
迭代器概念
indirectly_readable
(C++20)
indirectly_writable
(C++20)
weakly_incrementable
(C++20)
incrementable
(C++20)
is-integer-like
is-signed-integer-like
(C++20)
(C++20)
sentinel_for
(C++20)
sized_sentinel_for
(C++20)
input_iterator
(C++20)
output_iterator
(C++20)
input_or_output_iterator
(C++20)
forward_iterator
(C++20)
bidirectional_iterator
(C++20)
random_access_iterator
(C++20)
contiguous_iterator
(C++20)
迭代器原语
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
contiguous_iterator_tag
(C++20)
iter_value_t
iter_difference_t
iter_reference_t
iter_const_reference_t
iter_rvalue_reference_t
iter_common_reference_t
(C++20)
(C++20)
(C++20)
(C++23)
(C++20)
(C++20)
iterator
(在 C++17 中已弃用)
iterator_traits
incrementable_traits
(C++20)
indirectly_readable_traits
(C++20)
算法概念和实用程序
间接可调用概念
indirectly_unary_invocable
indirectly_regular_unary_invocable
(C++20)
(C++20)
indirect_unary_predicate
(C++20)
indirect_binary_predicate
(C++20)
indirect_equivalence_relation
(C++20)
indirect_strict_weak_order
(C++20)
常见算法要求
indirectly_movable
(C++20)
indirectly_movable_storable
(C++20)
indirectly_copyable
(C++20)
indirectly_copyable_storable
(C++20)
indirectly_swappable
(C++20)
indirectly_comparable
(C++20)
permutable
(C++20)
mergeable
(C++20)
sortable
(C++20)
实用程序
indirect_result_t
(C++20)
projected
(C++20)
projected_value_t
(C++26)
迭代器适配器
reverse_iterator
make_reverse_iterator
(C++14)
move_iterator
(C++11)
make_move_iterator
(C++11)
default_sentinel_t
default_sentinel
(C++20)
(C++20)
unreachable_sentinel_t
unreachable_sentinel
(C++20)
(C++20)
front_insert_iterator
back_insert_iterator
inserter
insert_iterator
front_inserter
back_inserter
move_sentinel
(C++20)
common_iterator
(C++20)
counted_iterator
(C++20)
basic_const_iterator
(C++23)
const_iterator
(C++23)
const_sentinel
(C++23)
make_const_iterator
(C++23)
make_const_sentinel
(C++23)
流迭代器
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
迭代器定制点
ranges::iter_move
(C++20)
ranges::iter_swap
(C++20)
迭代器操作
advance
distance
prev
(C++11)
next
(C++11)
ranges::advance
(C++20)
ranges::distance
(C++20)
ranges::prev
(C++20)
ranges::next
(C++20)
范围访问
begin
cbegin
(C++11)
(C++14)
rbegin
crbegin
(C++14)
(C++14)
end
cend
(C++11)
(C++14)
rend
crend
(C++14)
(C++14)
size
ssize
(C++17)
(C++20)
empty
(C++17)
data
(C++17)
[编辑]
std::basic_const_iterator
成员函数
basic_const_iterator::basic_const_iterator
basic_const_iterator::base
basic_const_iterator::operator*
basic_const_iterator::operator->
basic_const_iterator::operator[]
basic_const_iterator::operator++
basic_const_iterator::operator+=
basic_const_iterator::operator--
basic_const_iterator::operator-=
basic_const_iterator::operator==
basic_const_iterator::operator<
basic_const_iterator::operator<=
basic_const_iterator::operator>
basic_const_iterator::operator>=
basic_const_iterator::operator<=>
basic_const_iterator::operator
constant-iterator
非成员函数
operator<
operator<=
operator>
operator>=
(C++23)
(C++23)
(C++23)
(C++23)
operator+
(C++23)
operator-
(C++23)
iter_move
(std::basic_const_iterator)
(C++23)
辅助类
common_type
<std::basic_const_iterator>
(C++23)
[编辑]
constexpr
const
Iter
&
base
(
)
const
&
noexcept
;
(1)
(自 C++23 起)
constexpr
Iter base
(
)
&&
;
(2)
(自 C++23 起)
返回底层基础迭代器。
1)
返回对底层迭代器的引用。
2)
从底层迭代器移动构造返回值。
内容
1
参数
2
返回值
3
示例
4
另请参阅
[
编辑
]
参数
(无)
[
编辑
]
返回值
1)
对底层迭代器的引用。
2)
从底层迭代器移动构造的迭代器。
[
编辑
]
示例
本节不完整
原因:没有示例
[
编辑
]
另请参阅
operator*
operator->
访问指向的元素
(公共成员函数)
[编辑]
类别
:
待办:没有示例