std::ranges::output_range(3)
okay bestie, welcome to the std::ranges::output_range(3) page from the C++ Standard Libary manual β she's short, she's cute, she's a concept, and we're gonna get through her together πβ¨
π NAME π
std::ranges::output_range β that's the name twice because the page title is the concept and the concept is the page title. Self-titled main character energy, honestly π
β¨ Synopsis β¨
Here's the declaration tea, copied with love and zero edits:
Defined in header <ranges>
template<class R, class T>
concept output_range =
(since C++20)
ranges::range<R> && std::output_iterator<ranges::iterator_t<R>,
T>;
Now the vibe check: the output_range concept is a refinement of range for which ranges::begin returns a model of output_iterator. That's it. That's the whole concept. No cap, no extra lore π¦π₯
mwah π source: http://cppreference.com β’ version/date marker: 2024.06.10 β’ page: std::ranges::output_range(3) π
π¦ 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