This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 02:36:25 UTC ---
Author: jason
Date: Sun Mar 17 02:36:08 2013
New Revision: 196732

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196732
Log:
    DR 1518
    PR c++/54835
    * call.c (convert_like_real): Check for explicit constructors
    even for value-initialization.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist40.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]