std::ranges...::operator[](3)
πΈ NAME πΈ
okay so bestie, welcome to the std::ranges...::operator[](3) page from the C++ Standard Libary β¨. The icon of the hour is std::ranges::cartesian_product_view::iterator::operator[] β and the NAME line is literally std::ranges::cartesian_product_view::iterator::operator[] - std::ranges::cartesian_product_view::iterator::operator[], because why serve the same gorgeous name only once? π
π¦ Synopsis π¦
constexpr reference operator[]( difference_type n ) const
requires /*cartesian-product-is-random-access*/<Const, First,
(since C++23)
Vs...>;
It returns an element at specified relative location, and it's equivalent to return *((*this) + n); β literally that. Also, this whole vibe is marked (since C++23) π₯.
π Parameters π
nβ position relative to current location.
π Return value π
The element at displacement n relative to the current location. Periodt.
π Example π
This section is incomplete. Reason: no example. π
π See also π
operator*β accesses the element (C++23) (public member function).
π Category: π
- * Todo no example
xoxo, your Unix bestie π
β source: http://cppreference.com, version/date: 2024.06.10, page: std::ranges...::operator[](3). Bye bestie, go be iconic π«Άβ¨
π¦ 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