On Jan 6, 2008 8:37 PM, Roman Yakovenko <rom...@gm...> wrote:
> On Jan 6, 2008 2:00 PM, Gustavo Carneiro <gjc...@gm...> wrote:
> > I was wondering if there is any way to get type traits from template
> > parameters, as returned by
> > pygccxml.declarations.templates.split(decl_string)? I am trying to get by
> > with string based matching, but it's very difficult. I also don't
> > understand why templates have to be treated differently; shouldn't template
> > parameters be type_t instances instead of strings?
>
> I guess you are right. GCC-XML doesn't dump them as argument and I
> never thought to add this ability to it.
>
> I am going to check whether it could be done or not.
The good news it could be done.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|