template struct Factorial { enum { value = n * Factorial::value}; }; template<> struct Factorial<0> { enum {val
There is definitely no standard way. I can't think of a compiler-specific way, either.
[[Filler]]