Invalid foreach aggregate
Chris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 17 06:05:03 PST 2015
On Tuesday, 17 November 2015 at 13:49:58 UTC, Marc Schütz wrote:
> On Tuesday, 17 November 2015 at 12:41:45 UTC, Chris wrote:
>> On Tuesday, 17 November 2015 at 12:22:22 UTC, Marc Schütz
>> wrote:
>>> In any case, I'd suggest you fix your opIndex(), except if
>>> there's a really good reason it is as it is.
>>
>> I see. Thanks for the explanation. What would be the easiest
>> fix for this example?
>
> Do you actually need the opIndex()? If not, just remove it.
I suppose that would be the easiest solution. I think I doesn't
really need to be as it is.
More information about the Digitalmars-d-learn
mailing list