Nested Structs (Solution)
Max Samukha
maxsamukha at gmail.com
Wed Dec 12 14:58:46 PST 2012
On Wednesday, 12 December 2012 at 22:19:54 UTC, js.mdnq wrote:
> Also, I initially tried to do
>
> B!(A.b1.offsetof) b1;
>
> a'la
>
> http://forum.dlang.org/thread/mailman.2627.1355335532.5162.digitalmars-d@puremagic.com
>
> but dmd 2.060 crashes, which is why I moved on to using a
> static if.
That's 'outer', yet another half-done D feature. It should be
implemented for nested structs.
More information about the Digitalmars-d
mailing list