More complexity creep in Phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Mar 30 22:31:05 UTC 2019
On 3/30/19 3:22 PM, Jonathan M Davis wrote:
> Either way, isConvertibleToString must go.
Word.
We should have one rcstring type that is reference counted, uses UTF8,
is not a range, offers ranges (bytes, codepoints, graphemes), and
consolidate around it. Algorithms should only use ranges, and whenever
someone wants to use an algorithm with a string, they choose the
iteration mode that fits the application.
More information about the Digitalmars-d
mailing list