Namespaces
Variants
Views
Actions

std::ranges::output_range

From cppreference.com
< cpp‎ | ranges
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives
Dangling iterator handling
Range concepts
output_range
Views

Factories
Adaptors
Range adaptor objects
Range adaptor closure objects
Helper items
 
Defined in header <ranges>
template<class R, class T>

  concept output_range =

    ranges::range<R> && std::output_iterator<ranges::iterator_t<R>, T>;
(since C++20)

The output_range concept is a refinement of range for which ranges::begin returns a model of output_iterator.