xxxxxxxxxx
import std;
auto foo(T)(T tup) if (isTuple!T) {
// statically introspect tuple here ...
return tup;
}
void main()
{
writeln(foo(tuple(1, "2", '3')));
writeln(foo(tuple()));
//writeln(foo("not a tuple")); // fails to compile
}