Returns the index of the first occurrence of args[0] in the
sequence args[1 .. $]. args may be types or compile-time values.
If not found, -1 is returned.
importstd.stdio;
voidfoo()
{
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 args[0] in the sequence args[1 .. $]. args may be types or compile-time values. If not found, -1 is returned.