Revised RFC on range design for D2

Bill Baxter wbaxter at gmail.com
Thu Oct 2 17:32:35 PDT 2008


On Fri, Oct 3, 2008 at 8:04 AM, Sergey Gromov <snake.scaly at gmail.com> wrote:
> 2008年10月02日 15:03:42 -0500,
> Andrei Alexandrescu wrote:
>> Yah, overloaded ops are due for an overhaul. I'm almost afraid to ask...
>> any ideas? :o)
>>>> One goal is to fix opIndexAssign and make it work similar to the way it
>> works in arrays, e.g. a[b] += c. Indexing into hash tables is a good
>> test bed.
>> What's wrong with a.opIndexAssign(b, a.opIndex(b) + c)?
>
Indeed. I thought there wasn't a lot of debate needed on this, just action.
--bb


More information about the Digitalmars-d-announce mailing list

AltStyle によって変換されたページ (->オリジナル) /