[Bug c++/58399] explicit constructor called implicitly with empty init-list
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 12 08:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58399
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
t.cc: In function 'int main()':
t.cc:12:11: error: converting to 'a' from initializer list would use explicit
constructor 'a::a()'
foo ({ });
^
*** This bug has been marked as a duplicate of bug 54835 ***
More information about the Gcc-bugs
mailing list