Inner struct accessing host member

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 5 14:44:29 PDT 2014


On Tue, Aug 5, 2014 at 11:37 PM, Martijn Pot via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> Does this help :
> http://www.digitalmars.com/d/archives/digitalmars/D/learn/Nested_struct_member_has_no_access_to_the_enclosing_class_data_38294.html

Yes, that helps: that explains why it does not wor :).
I changed my code to use classes. It's a bit less handy, but it works.


More information about the Digitalmars-d-learn mailing list