Invalid foreach aggregate
    Marc Schütz via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Nov 17 05:49:56 PST 2015
    
    
  
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.
    
    
More information about the Digitalmars-d-learn
mailing list