VCCC  2024.05
VisualCamp Common C++ library
range< T > Struct Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__ranges/range.hpp>

+ Inheritance diagram for range< T >:

Detailed Description

template<typename T>
struct vccc::ranges::range< T >

The range concept defines the requirements of a type that allows iteration over its elements by providing an iterator and sentinel that denote the elements of the range.

Notes

A typical range class only needs to provide two functions:

  1. A member function begin() whose return type models input_or_output_iterator.
  2. A member function end() whose return type models sentinel_for<It>, where It is the return type of begin().

Alternatively, they can be non-member functions, to be found by argument-dependent lookup.

See also
std::ranges::range

The documentation for this struct was generated from the following file: