Your solution is fine, it is solving the problem at compile time, I want to do a series of katas based on this one, the problem of your solution is that is not going to help you much on next katas.
Right, and to this other one https://www.codewars.com/kata/5a76c830fd8c06283c000068. All basic C++ metaprogramming exercises are similar. I just wanted to create a simple kata to see how the process works and what kind of issues people will encounter before try to add somthing more complex.
Hi, now it should check all values up to 20.
Your solution is fine, it is solving the problem at compile time, I want to do a series of katas based on this one, the problem of your solution is that is not going to help you much on next katas.
Please, let me know if you think issue is solved.
Right, and to this other one https://www.codewars.com/kata/5a76c830fd8c06283c000068. All basic C++ metaprogramming exercises are similar. I just wanted to create a simple kata to see how the process works and what kind of issues people will encounter before try to add somthing more complex.