std::basic_...erator::base(3)
π std::basic_...erator::base(3) π
okay so bestie, this page is from the C++ Standard Libary manual, and the title is giving chaotic std::basic_...erator::base(3) energy β but we're keeping every detail, no cap. β¨
β¨ NAME β¨
std::basic_const_iterator::base - std::basic_const_iterator::base
πΈ Synopsis πΈ
Two overloads, both since C++23, and they are literally the whole point:
constexpr const Iter& base() const& noexcept; (1) (since C++23)
constexpr Iter base() &&; (2) (since C++23)
Returns the underlying base iterator. Like, it hands you the iterator underneath. π«Ά
- Returns a reference to the underlying iterator.
- Move constructs the return value from the underlying iterator.
π Parameters π
(none) β she takes nothing, your fave low-maintenance icon. π
π Return value π
- A reference to the underlying iterator.
- An iterator move constructed from the underlying iterator.
periodt. that's the return value, and it's exactly what it says on the tin. π
π¦ Example π¦
This section is incomplete.
Reason: no example.
π it's giving "trust me bestie, no example yet," but we keep the note fr fr.
π See also π
operator*β accesses the pointed-to elementoperator->β (public member function)
π Category π
- Todo no example
mwah π β source/version check: this one comes from http://cppreference.com, dated 2024.06.10, with the footer title std::basic_...erator::base(3). go off, bestie π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms