chromium / subspace

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
https://suslib.cc
Apache License 2.0
89 stars 15 forks source link

Add an adaptor from Iterator to std::ranges. #224

Closed danakj closed 1 year ago

danakj commented 1 year ago

Iterator::range() will return a type that satisfies:

This allows subspace iterators to be used with code that is built on the stdlib ranges library.