Check if tuple contains value at compile time

Simen Kjaeraas simen.kjaras at gmail.com
Sat May 4 17:09:59 PDT 2013


On 2013-05-05, 01:42, Diggory wrote:

> I'm trying to test using a "static if" statement if a tuple of strings  
> contains a particular string. What's the easiest/best way to do this?

http://dlang.org/phobos/std_typetuple#.staticIndexOf

-- 
Simen


More information about the Digitalmars-d-learn mailing list