Commit Graph
5 Commits
Author SHA1 Message Date
Karoy Lorentey 6a7f53c3da _BString: Add conversion initializers from all views 2023-03-20 13:12:12 -07:00
Karoy Lorentey 03d7c43c22 _BString: Add index rounding methods to all views 2023-03-20 13:12:12 -07:00
Karoy Lorentey 1182398068 _BString: Give each view a custom iterator by hooking up the existing implementations 2023-03-20 13:12:12 -07:00
Karoy Lorentey a10439bc32 _BString, _BSubstring: Merge character views into top-level types. Add RangeReplaceableCollection conformances.
This emulates the standard String.
2023-03-20 13:12:12 -07:00
Karoy Lorentey 28727f7c56 _BString: Implement views
Having all core functionality exposed by the top-level type is not a bad idea; unfortunately substrings are tricky to get right, so it’s better to implement that out of the box.
2023-03-20 13:12:11 -07:00