std::experi...putIterator(3)
okay so this is the std::experi...putIterator(3) page, and it lives in the C++ Standard Libary manual (yes bestie, that spelling is the manual's, keep it iconic π
). It's the Ranges TS concept InputIterator, and it's giving very template, very concept energy β¨.
π NAME π
std::experimental::ranges::InputIterator β literally std::experimental::ranges::InputIterator. The name ate and left no crumbs ππ
.
β¨ Synopsis β¨
Defined in header <experimental/ranges/iterator>, and here's the exact concept shape, bestie:
Defined in header <experimental/ranges/iterator>
template< class I >
concept bool InputIterator =
Iterator<I> && Readable<I> &&
(ranges TS)
requires { typename ranges::iterator_category_t<I>; } &&
DerivedFrom<ranges::iterator_category_t<I>,
ranges::input_iterator_tag>;
So the vibe check is: the InputIterator concept is a refinement of Iterator, adding the requirement that the referenced values can be read (via Readable) and the requirement that the iterator category tag be present. Periodt. ππ
- it's a refinement of
Iteratorπ¦ - it adds the requirement that the referenced values can be read (via
Readable) β¨ - it adds the requirement that the iterator category tag be present π
πΈ Notes πΈ
π¨ big note, bestie: unlike the input iterator requirements in the C++ standard,InputIteratorin the Ranges TS does not requireEqualityComparable. So don't go assuming that requirement is there, fr fr ππ.
okay bye bestie π«Ά source/version: http://cppreference.com Β· dated 2024.06.10 Β· 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