std.algorithm.remove and principle of least astonishment
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Nov 24 08:48:26 PST 2010
On 11/24/10 9:35 AM, Daniel Gibson wrote:
> spir schrieb:
>> What i don't understand is why people who need unsigned bytes do not
>> use ubyte? But instead bug into char. Is this only because of C baggage?
>>
>
> probably because you can't write ubyte[] str = "asdf"; and they want to
> have "ascii-chars" in their ubyte arrays
Probably the assignment should be allowed.
Andrei
More information about the Digitalmars-d
mailing list