strettosis at tutanota.com
Stretto via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 9 16:57:23 PDT 2016
Ultimately what I want to do is access a member
foo.Dongs[i];
Where Dongs is essentially a "view" in to the Bars array and only
accesses types of type Dong.
It seems one can't do both an override on a name("Dongs") and an
index on the overridden name(`[i]`)?
It is not appropriate to use foo.Dongs(i).
A clear example:
https://dpaste.dzfl.pl/7ea52a0f21ce
More information about the Digitalmars-d-learn
mailing list