Quote Originally Posted by Peter_APIIT View Post
Why C++ TMP program must use enum to achieve its purpose?

Thanks.

Its because the calculations are done at compiletime and not at runtime.