Closed mcy closed 2 months ago
This adds something like Rust's Iterator trait but in a way that is suitable for C++ use. We have:
Iterator
best::iter
best::int_range
best::bounds
best::span::find()
best::text::find()
best::span::split()
best::text::split()
best::text::runes()
best::text::rune_indices()
best::pretext
best::text
Removed best::rune::iter, since it was a stopgap solution until we got here.
best::rune::iter
This adds something like Rust's
Iterator
trait but in a way that is suitable for C++ use. We have:best::iter
and friends.best::int_range
, whichbest::bounds
is now a specialization of. It's an iterator.best::span::find()
andbest::text::find()
now have standardized interfaces.best::span::split()
,best::text::split()
.best::text::runes()
andbest::text::rune_indices()
.best::pretext
, i.e., abest::text
that has not been validated.Removed
best::rune::iter
, since it was a stopgap solution until we got here.