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)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to