Lots of low hanging fruit in Phobos

Walter Bright newshound2 at digitalmars.com
Thu Mar 6 14:15:28 PST 2014


On 3/6/2014 1:30 PM, Vladimir Panteleev wrote:
> On Thursday, 6 March 2014 at 21:26:45 UTC, Walter Bright wrote:
>> The existing functions should not be removed, but perhaps rewritten as
>> wrappers around the algorithm versions.
>
> How does one handle case sensitivity for ranges of abstract types?

Use 'static if' to detect the element type.

And besides, I had meant that an algorithm should work on an InputRange of 
char's, and not be restricted to char[].



More information about the Digitalmars-d mailing list