std::ranges...::operator*(3)
π std::ranges...::operator*(3) π
okay so bestie, welcome to the C++ Standard Libary page for std::ranges...::operator*(3) β yes that's literally the manual name and yes it's giving "I live in a header" energy π this one is short, sweet, and all about dereferencing a slide_view iterator. let's go π«Ά
β¨ NAME β¨
std::ranges::slide_view::iterator::operator*-std::ranges::slide_view::iterator::operator*
πΈ Synopsis πΈ
constexpr auto operator*() const; (since C++23)
bestie, this bad boy returns the current element in the slide_view. let current_ and n_ be the underlying data members. it's equivalent to:
return
views::counted(current_, n_).
lowkey iconic, highkey just two lines of code doing their little thing π
π Parameters π
(none)β literally zero parameters, so chill. nothing to pass, nothing to stress about π§
π¦ Return value π¦
The current element, which is an object of value_type. slay, that's the whole vibe β¨
π Example π
This section is incomplete Reason: no example
not me showing up with no example π the page literally says it's incomplete and the reason is "no example" β so yeah, nothing to run here bestie, we move π«Ά
π See also π
operator[]accesses an element by index (C++23) (public member function)
π Category π
- * Todo no example
that's the whole page, bestie π big thanks to http://cppreference.com, date 2024.06.10, and the page std::ranges...::operator*(3) β now go dereference something cute β¨π
π¦ 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