Tuple Arguments - Type or Constant?

Xinok xnknet at gmail.com
Wed Jan 24 17:31:57 PST 2007


Tuples allow either types or constants to be used as arguments.

template tuple(T...);
tuple!(int, 35);

Is there any way to safely tell if a tuple argument is a type or a constant without getting an error from the compiler?



More information about the Digitalmars-d mailing list