PR c++/35782, c++/37860
PR c++/35782, c++/37860 * call.c (build_user_type_conversion_1): Remember list-initialization. (convert_like_real): Likewise. (build_over_call): Don't require the copy constructor for copy-list-initialization. * cp-tree.h (TARGET_EXPR_LIST_INIT_P): New macro. PR c++/37234 * decl.c (cp_finish_decl): Handle =default and =delete for templates, too. From-SVN: r142379
Showing
gcc/testsuite/g++.dg/cpp0x/defaulted5.C
0 → 100644
gcc/testsuite/g++.dg/cpp0x/initlist9.C
0 → 100644
Please
register
or
sign in
to comment