Namespaces
Variants
Views
Actions

std::basic_const_iterator<Iter>::base

From cppreference.com
 
 
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) (since C++23)
constexpr Iter base() &&;
(2) (since C++23)

Returns the underlying base iterator.

1) Returns a reference to the underlying iterator.
2) Move constructs the return value from the underlying iterator.

Contents

[edit] Parameters

(none)

[edit] Return value

1) A reference to the underlying iterator.
2) An iterator move constructed from the underlying iterator.

[edit] Example

[edit] See also

accesses the pointed-to element
(public member function) [edit]