Namespaces
Variants
Views
Actions

std::experimental::ranges::SizedRange

From cppreference.com
< cpp‎ | experimental‎ | ranges
Defined in header <experimental/ranges/range>
template <class T>

concept bool SizedRange =
  ranges::Range<T> &&
  !ranges::disable_sized_range<std::remove_cv_t<std::remove_reference_t<T>>> &&
  requires(T& t) {
    { ranges::size(t) }
      -> ranges::ConvertibleTo<ranges::difference_type_t<ranges::iterator_t<T>>>;

  };
(ranges TS)