Possible @property compromise

TommiT tommitissari at hotmail.com
Fri Feb 1 22:19:27 PST 2013


On Saturday, 2 February 2013 at 03:50:49 UTC, Zach the Mystic 
wrote:
> [..]

What do you suppose would happen if I wrote the following?

struct A
{
   struct B {}

   B b1;
   B b2;
}

void main()
{
   A a;
   assert(&a.b1 == &a.b2);
}


More information about the Digitalmars-d mailing list