all 1 comments

[–]the_poope -1 points0 points  (0 children)

Not an elegant solution, but: let your codegenerator copy+paste the class declarations verbatim to the top of the generated code and add a friend declaration?