std::ranges::output_range(3cxx)
β¨ NAME β¨
std::ranges::output_range β bestie, it's a range where ranges::begin hands you back an output iterator. that's the whole vibe π
okay so real quick, this page lives in the cxx manual, straight out of libstdc++, and it's about one single concept. one. concept. and she ate. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull her in:
#include <ranges>
π¦ Concept definition π¦
here's the actual definition, character for character, no notes:
template<typename _Range, typename _Tp>
concept std::ranges::output_range = range<_Range> && output_iterator<iterator_t<_Range>, _Tp>
look at her. so clean. so iconic. β¨
π Detailed Description π
A range for which ranges::begin returns an output iterator.
that's it. that's the girl. no cap. π«Ά
ngl the way this works is: you got a range, and when you call ranges::begin on it, what comes back is an output iterator. so it's a range you can write into β you're not reading from it, you're outputting to it. it's giving canvas, not gallery. π₯
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
(so like, a robot wrote this, not a person, and honestly? she did great. no further questions. π)
and that's the page, bestie!! π this was the std::ranges::output_range(3cxx) manpage, brought to you by libstdc++ β mwah, go write to some iterators, you absolute main character. πβπ
π¦ where this page comes from
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms