std::ranges...erator::base(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so this is the std::ranges...erator::base(3) page from the C++ Standard Libary, bestie πŸ’…. The full NAME is literally:

std::ranges::chunk_view::inner-iterator::base -
std::ranges::chunk_view::inner-iterator::base

✨ Synopsis ✨

The signature is exactly:

constexpr const ranges::iterator_t<V>& base() const &;  (since C++23)

It returns the underlying cached iterator to the current element β€” like, the element in the current chunk β€” in chunk_view. No cap 🫢.

Let parent_ be the underlying pointer to the enclosing chunk_view. Then this is equivalent to:

return *parent_->current_;.

πŸ¦‹ Parameters πŸ¦‹

(none) β€” literally no parameters, so there’s nothing to pass. 😌


🌸 Return value 🌸

An iterator. That’s the whole return value, bestie ✨.


πŸŽ€ Example πŸŽ€

ngl, this section is leaving us on read:

This section is incomplete

Reason: no example


🌈 See also 🌈

  • operator* β€” accesses the element (C++23) (public member function) πŸ”₯

πŸŽ€ Category πŸŽ€

  • Todo no example

that’s the whole page, bestie πŸ’– source/version: http://cppreference.com; date: 2024.06.10; page: std::ranges...erator::base(3). byeee 🌸

πŸ“¦ where this page comes from