[GCC-XML] Adding instantiated class template arguments to the output
Brad King
brad.king at kitware.com
Fri May 20 08:49:43 EDT 2005
Roman Yakovenko wrote:
> May I ask to add instantiation arguments of the class\function to the output?
> For example: If I have vector<int>, gccxml will writes
> vector<int,std::allocator<int> >.
> Also it writes std::allocator<int> somewhere in the output. What I am
> asking is next:
>
> <Class id="_2100" name="vector<int,std::allocator<int> >" context="_2" ... >
> <Argument name="???" type="xxx"/>
> <Argument name="???" type="yyy"/>
See this response from January:
http://public.kitware.com/pipermail/gccxml/2005-January/000532.html
For now you'll have to write a parser to get the argument types. In the
case of auto_ptr it should be easy because there is always only one
argument.
-Brad
More information about the gccxml
mailing list