rsmith added a comment.

Please also add a test to test/CXX/drs/dr15xx.cpp for core issue 1518, which 
this paper was resolving.

Comment at: lib/AST/DeclCXX.cpp:564
+    // C++1z [dcl.init.aggr]p1:
+    //  - no user-provided, explicit, or inherited constructors,
+    if (getASTContext().getLangOpts().CPlusPlus1z && Constructor->isExplicit())
Do we correctly handle the "or inherited" part? I'd also like to find out 
whether core intended for this issue to be treated as a DR or not (if so, this 
should apply all the way back to C++11).

cfe-commits mailing list

Reply via email to