std::ranges...::operator*(3)
πΈ NAME πΈ
okay bestie, welcome to the page std::ranges...::operator*(3) from the C++ Standard Libary π (manual name folded in right here near the top, no copied header line needed). The NAME is literally std::ranges::chunk_view::outer-iterator::operator* β std::ranges::chunk_view::outer-iterator::operator* (yes, it's listed twice; that's the lore, periodt π
).
β¨ Synopsis β¨
constexpr value_type operator*() const; (since C++23)
Returns the current chunk in the chunk_view π.
Let parent_ be the underlying pointer, and value_type be a nested class that is the value type of the iterator. value_type is doing main character energy here, ngl π«.
Equivalent to: return value_type(*parent_);.
Before invocation of this operator the expression *this == std::default_sentinel must be false. That's a real precondition, bestie β do not skip the vibe check π«Ά.
π¦ Parameters π¦
(none) β literally no parameters, zero, nada, the page said so π.
π Return value π
The current element (a chunk). That's it. That's the return value. Iconic. β¨
π Example π
This section is incomplete β Reason: no example π (the manual is being mysterious, not me).
π Category π
* Todo no example β that's the whole category, no cap.
that's the tea from http://cppreference.com, dated 2024.06.10, on the std::ranges...::operator*(3) page β source/date sign-off done, mwah ππ«Άβ¨
π¦ 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