Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::basic_const_iterator<Iter>::base

Returns the underlying base iterator.

NotebookLM
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.

Parameters

(none)

Return value

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

Example

This section is incomplete
Reason: no example

See also

accesses the pointed-to element
(public member function)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.