Namespaces
Variants

std::basic_const_iterator<Iter>:: base

From cppreference.net
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11) (C++14)
(C++14) (C++14)
(C++11) (C++14)
(C++14) (C++14)
(C++17) (C++20)
(C++17)
(C++17)
constexpr const Iter & base ( ) const & noexcept ;
(1) (自 C++23 起)
constexpr Iter base ( ) && ;
(2) (自 C++23 起)

返回底层基础迭代器。

1) 返回底层迭代器的引用。
2) 通过底层迭代器移动构造返回值。

目录

参数

(无)

返回值

1) 对底层迭代器的引用。
2) 通过底层迭代器移动构造的迭代器。

示例

参见

访问所指向的元素
(公开成员函数)