Working on a library: request for code review

Mike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 15 11:59:05 PDT 2014


On Friday, 13 June 2014 at 21:09:23 UTC, Mike Wey wrote:
> On 06/12/2014 09:30 PM, Rene Zwanenburg wrote:
>> I remember a function which does something like only only + 
>> canFind on
>> one go. It would look something like
>>
>> header.colorMapDepth.among(16, 32);
>>
>> but I can't find it right now.. Maybe it was only proposed but 
>> never added.
>
> http://dlang.org/library/std/algorithm/among.html

Will apply this as well, thanks :-)


More information about the Digitalmars-d-learn mailing list