I don't think this template function should be in any way authoritative, so let's namespace it.
Also fix up the examples.
This was the goal all along. Proper iteration without for loops. Yay! Co-authored-by: Samuel Gélineau <gelisam@gmail.com>