libstdc++: std::ranges::common_range Concept Reference

libstdc++

std::ranges::common_range Concept Reference

`#include <ranges_base.h>`

## Concept definition

template<typename _Tp>
concept common_range = range<_Tp> && same_as<iterator_t<_Tp>, sentinel_t<_Tp>>
std::same_as
[concept.same], concept same_as
Definition concepts:65
std::ranges::range
[range.range] The range concept.
Definition ranges_base.h:510
std::ranges::common_range
A range for which ranges::begin and ranges::end return the same type.
Definition ranges_base.h:648

## Detailed Description

A range for which ranges::begin and ranges::end return the same type.

Definition at line 647 of file ranges_base.h.