Thanks, committed in r161088

~Aaron

On Tue, Jul 31, 2012 at 6:32 PM, Richard Smith <[email protected]> wrote:
> LGTM, thanks!
>
>
> On Tue, Jul 31, 2012 at 3:25 PM, Aaron Ballman <[email protected]>
> wrote:
>>
>> 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
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to