[GCC-XML] Find out "explicit"ness of constructor

Roman Yakovenko roman.yakovenko at gmail.com
Mon Sep 19 23:32:58 EDT 2005


On 9/19/05, Brad King <brad.king at kitware.com> wrote:
> Roman Yakovenko wrote:
> > Hi. Is there is a way to find out whether constructor has been
> > declarated with "explicit"
> > keyword or not?
> >
> > struct XXX{
> >     explicit XXX(int);
> > //--^^^^^^^^?
> > };
>
> I just implemented this as of revision 1.103 of xml.c.  There will now
> be an explicit="1" attribute of Constructor elements in the XML for
> explicit constructors.

Thank you very much.

> -Brad
>



More information about the gccxml mailing list