This patch addresses PR13492 and PR13216, where explicitly defaulted constructors were allowed during default initialization of a constant. For instance:
struct B {
B() = default;
};
void f() {
const B b; // Should error
}
It did catch some problems with previous test cases that I've also corrected.
~Aaron
defaulted.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
