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 likeheader.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