std::ranges...w::iterator(3)
π NAME π
std::ranges::chunk_by_view::iterator β and yes bestie, the page says std::ranges::chunk_by_view::iterator again, because the manpage likes to repeat itself. We respect the ritual. β¨
Okay so real talk: this is the C++ Standard Library page (the header literally spells the manual name as C++ Standard Libary, and we are not fixing it β itβs giving typo chic), for std::ranges::chunk_by_view::iterator. The mangled header title is std::ranges...w::iterator(3), iykyk.
β¨ Synopsis β¨
class /*iterator*/ (since C++23)
(exposition only*)
This is the return type of chunk_by_view::begin, and also of chunk_by_view::end when the underlying view V is a common_range. π«Ά
π Member types π
value_typeβranges::subrange<ranges::iterator_t<V>>difference_typeβranges::range_difference_t<V>iterator_categoryβstd::input_iterator_tagiterator_conceptβstd::bidirectional_iterator_tag, ifVmodelsbidirectional_range, otherwisestd::forward_iterator_tag.
π¦ Data members π¦
parent_(private) β A pointer to the parentchunk_by_view.(exposition-only member object*)current_(private) βranges::iterator_t<V>, an iterator to the begin of current chunk.(exposition-only member object*)next_(private) βranges::iterator_t<V>, an iterator to the begin of next chunk, if present.(exposition-only member object*)
π Member functions π
constructor(C++23) β constructs an iterator (public member function)operator*(C++23) β accesses the element (public member function)operator++,operator++(int),operator--,operator--(int)(C++23) β advances or decrements the underlying iterators (public member function)
π Non-member functions π
operator==(C++23) β compares the underlying iterators (function)
π Example π
This section is incomplete Reason: no example
π References π
- C++23 standard (ISO/IEC 14882:2023):
- 26.7.30.3 Class
chunk_by_view::iterator[range.chunk.by.iter]
π See also π
Category:
- Todo no example
Bye bestie π this little page came from http://cppreference.com, dated 2024.06.10, and the footer tag is std::ranges...w::iterator(3). Slay. β¨ππ¦
π¦ 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