[GCC-XML] Adding instantiated class template arguments to the output
Roman Yakovenko
roman.yakovenko at gmail.com
Sun May 22 00:11:34 EDT 2005
On 5/20/05, Brad King <brad.king at kitware.com> wrote:
> 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
Thanks for help. But even auto_ptr case is not as simple as it seems.
For example std::auto_ptr< const x >
But any way thanks
Roman
More information about the gccxml
mailing list