std.experimental.collections.rcstring and its integration in Phobos

Jacob Carlborg doob at me.com
Wed Jul 18 18:11:49 UTC 2018


On 2018-07-18 13:37, Seb wrote:

> The problem here is this would also lead to very confusing behavior for 
> newcomers, e.g.
> 
> ```
> "ä".split.join("|") == �|�
> ```

How about not giving access to operate on individual characters. If they 
need to do that they should operate on an array of bytes. Too controversial?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list