Returns the index of the first occurrence of T in the sequence TList. If not found, -1 is returned.
import std.stdio; void foo() { writefln("The index of long is %s", staticIndexOf!(long, AliasSeq!(int, long, double))); // prints: The index of long is 1 }
Returns the index of the first occurrence of T in the sequence TList. If not found, -1 is returned.