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

Range literals, unbounded Range types, Range iterators #212

Closed danakj closed 1 year ago

danakj commented 1 year ago

This PR depends on https://github.com/chromium/subspace/pull/209

~TODO: ".."_r.end_at(x).start_at(y) => Range(y, x)~ ~TODO: Allow Range constructors instead of with() because they are all the fields and act like an aggregate constructor + default constructor? Add to PRINCIPLES.md~ ~TODO: Range types can be trivially relocatable~