[cfe-commits] r60483 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Wed Dec 3 09:25:58 PST 2008


Douglas Gregor wrote:
>
> On Dec 3, 2008, at 8:32 AM, Sebastian Redl wrote:
>
>> Author: cornedbee
>> Date: Wed Dec  3 10:32:40 2008
>> New Revision: 60483
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=60483&view=rev
>> Log:
>> Fix typo in index operator overloading.
>
> Thanks, Sebastian!
By the way, since [] can only be overloaded as a member, does it even 
make sense to check anything except that LHS is a record? Or are you 
looking forward to C++0x with its relaxed rules? (Those rules are a 
little unclear to me, by the way. It seems that you can overload [] as a 
non-member only by specifying it in a concept or concept_map.

Sebastian)



More information about the cfe-commits mailing list