Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
It's a bit too similar to https://www.codewars.com/kata/5a74a94f5084d72c710000de
https://www.codewars.com/kata/reviews/66115a97e5ac4000015f8d10/groups/6611662b3a3a5900012f7bb6
Also, not every value inside the range is tested: 7-9 and 11-19 are missing.