Hacker News new | ask | show | jobs
by dependenttypes 2199 days ago
It should be noted that gcc and clang both execute certain functions at compile-time at their higher optimization levels.

In addition C++ has constexpr which marks an expression to be evaluated at compile-time.