Am wondering if there is any "successful" attempts to create a complete set of templates in C++, so, C++ can be used as a scripting language. In other words, get the results at compile time (computation, loop,...) without running the exe.
Think one can calculate recursive items through templates, but having a complete set of functionnality (for, while, and double calculation), I could not find it.
"... get the results at compile time (computation, loop,...) without running the exe."
Nope, there's no way.
Even if everything is computed at compile time, you'll need to run the executable to retrieve the result.
Retrieving the result is not available as a compile time feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With