std.algorithm.remove and principle of least astonishment

Tomek Sowiński just at ask.me
Sat Oct 16 12:58:17 PDT 2010


Andrei Alexandrescu napisał:

> On 10/16/2010 01:39 PM, Steven Schveighoffer wrote:
>> I suggest wrapping a char[] or wchar[] (of all constancies) with a
>> special range that imposes the restrictions.
> 
> I did so. It was called byDchar and it would accept a string type. It
> sucked.

Why it sucked?

-- 
Tomek


More information about the Digitalmars-d mailing list