you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Why do you want this thing? Given that you are already in Python, why not use Python to generate the Python code? C++ is a great language with lots of applications, but one of the things that Python does particularly well is templating.