refactor(range): split basic view part of the range library into multiple files

This commit is contained in:
2024-12-15 11:24:30 +08:00
parent a3509295ff
commit a3e0aa01cf
4 changed files with 158 additions and 145 deletions

View File

@ -212,6 +212,10 @@ NAMESPACE_END(Range)
/**
* A concept specifies a type is a range.
* A range is an iterator-sentinel pair that represents a sequence of elements.
* This concept does not require that iterator-sentinel pair can be fetched multiple times
* from the range object. again this means that const R may not be a range if R is a range,
* e.g. fetching the iterator-sentinel pair from the input range may require moving the iterator
* directly from the range object and thus the range object may be modified.
*/
template <typename R>
concept CRange =