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

Brad King brad.king at kitware.com
Mon Sep 19 09:28:01 EDT 2005


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.

-Brad



More information about the gccxml mailing list