On Thursday, May 10, 2018 03:23:50 Mike Franklin via Digitalmars-d-learn wrote: > My understanding is that nested structs have an implicit context > pointer to their containing scope.
A non-static struct inside a function does, but I suspect that you're thinking about non-static nested classes (within classes), which I believe was done to be compatible with Java (in order to make porting code easier). Structs don't have that. - Jonathan M Davis