std.algorithm.remove and principle of least astonishment

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Oct 16 12:49:56 PDT 2010


On 10/16/2010 01:39 PM, Steven Schveighoffer wrote:
> Andrei, I am increasingly seeing people struggling with the decision to
> make strings bidirectional ranges of dchar instead of what the compiler
> says they are. This needs a different solution. It's too
> confusing/difficult to deal with.

I'm not seeing that. I'm seeing strings working automagically with most 
of std.algorithm without ever destroying a wide string.

Andrei


More information about the Digitalmars-d mailing list