Need help with accessing outer object

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 30 00:03:12 PDT 2016


On 2016-08-30 04:43, Cherry wrote:
> Greetings All
>
> Can you help me with this code? I could not find any traits or other way
> to get me outer object of a given inner object.

Use the ".outer" property [1].

[1] http://dlang.org/spec/class.html#nested

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list