Somehow I missed NLTemplate when I was searching originally, and wrote my own C++ templating engine, with apparently a similar use case as NLTemplate :-)
https://github.com/hughperkins/Jinja2CppLight
- Jinja2-like syntax
- lightweight, no dependencies on boost, qt, etc, ...
- variable substitution
- for loops
- including nested for loops :-)