Working on a library: request for code review

Mike Wey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 13 14:12:03 PDT 2014


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

-- 
Mike Wey


More information about the Digitalmars-d-learn mailing list