[GCC-XML]gccxml and templates?

andy.glew at amd.com andy.glew at amd.com
Fri Oct 17 22:44:26 EDT 2003


I'm looking for pseudo-reflection for C++
--- generating code such as accessors,
print functions, etc.

I know about SWIG and OpenC++.
Have tried SWIG - SWIG's deficiencies
wrt nested classes may be a showstopper.

Figured out that something like swig -xml
is the way to go -- allows the "reflectors"
that generate the code to be independent
of the C++ parser.



Found GCC-XML.   It's definitely along the right
path, using full GCC/G++ to parse, emitting XML.


Q: GCC-XML handles nested classes, but doesn't
appear to support templates.


Can anyone tell me this ain't so?







More information about the gccxml mailing list