Namespaces
Variants
Actions

std::basic_const_iterator<Iter>::base

From cppreference.com
 
C++
 
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)
 
std::basic_const_iterator
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]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant