std::ranges...r::iterator(3)
π
std::ranges...r::iterator(3) π
okay so welcome to std::ranges...r::iterator(3), from the C++ Standard Libary manual β yes bestie, that's literally how it's spelled up top, and no I will not be fixing it πβ¨
β¨ NAME β¨
std::ranges::chunk_by_view::iterator::iterator β that's the whole name, and it is iconic.
std::ranges::chunk_by_view::iterator::iterator β yes, it says it again. the original NAME section is just the same name twice. no cap, that's the vibe π«Ά
π Synopsis π
/*iterator*/() = default; (1) (since
C++23)
private:
constexpr /*iterator*/( chunk_by_view& parent, (2)
(exposition only*)
ranges::iterator_t<V> current,
ranges::iterator_t<V> next );
This bad boy constructs an iterator. π₯
- Default constructor. It value-initializes the underlying data-members like this:
parent_withnullptr,current_withranges::iterator_t<V>(),next_withranges::iterator_t<V>().
- A private constructor which is used by
chunk_by_view::beginandchunk_by_view::end. This constructor is not accessible to users. It initializes:parent_withstd::addressof(parent),current_withcurrent,next_withnext.
lowkey important: constructor (1) is(since C++23), and constructor (2) is marked(exposition only*)β keep that detail, bestie π
π Parameters π
parentβ a parent objectcurrent,nextβ iterators
πΈ Example πΈ
This section is incomplete.
Reason: no example.
π it's giving "left as an exercise", bestie. no example supplied, fr fr.
π¦ Category π¦
- Todo no example β that's the category note, and it's matching the Example section's no-example energy π
mwah π this page came from http://cppreference.com, dated 2024.06.10, and it's the std::ranges...r::iterator(3) manual. bye bestie, go slay some iterators π«Άβ¨
π¦ 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