std::ranges::contiguous_range - Man Page

A range for which ranges::begin returns a contiguous iterator.

Synopsis

#include <ranges>

Concept definition

template<typename _Tp>
concept std::ranges::contiguous_range =  random_access_range<_Tp> && contiguous_iterator<iterator_t<_Tp>>
      && requires(_Tp& __t)
      {
        { ranges::data(__t) } -> same_as<add_pointer_t<range_reference_t<_Tp>>>;
      }

Detailed Description

A range for which ranges::begin returns a contiguous iterator.

Definition at line 680 of file ranges.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Sep 7 2022 libstdc++