On Tuesday, 28 August 2012 at 11:06:51 UTC, Simen Kjaeraas wrote:
On Tue, 28 Aug 2012 12:10:47 +0200, monarch_dodra
<monarchdo...@gmail.com> wrote:
From TDPL: 7.18:
"Unlike classes nested within classes, nested structs and
nested classes within
structs don’t contain any hidden member outer—there is no
special code generated.
The main design goal of nesting such types is to enforce the
desired access control."
I suppose this has become obsolete then?
...Or is it the other way around?
TDPL trumps most everything else, I believe.
Well, at the same time, the reason I asked is because Andrei told
me to declare a sub-struct as static in one of my pull requests.
Given he's the author of TDPL...
Anyways, I'll try to bring him into the conversation from.