On Dec 7, 2012, at 9:36 AM, Jordan Rose <[email protected]> wrote:

>> +  RegionBindingsRef &operator=(const RegionBindingsRef &X) {
>> +    *static_cast<ParentTy*>(this) = X;
>> +    return *this;
>> +  }
> 
> This is the default copy-constructor; better to leave it out.

Remove it, and you will see that the source doesn't compile.  :-)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to