On Thursday, 16 February 2017 at 01:05:58 UTC, David Zhang wrote:
Is there a similar mechanism for one struct holding another?
You'd have to make the member a pointer to the struct. immutable(B)* b;
Adam D. Ruppe via Digitalmars-d-learn Wed, 15 Feb 2017 17:16:19 -0800
On Thursday, 16 February 2017 at 01:05:58 UTC, David Zhang wrote:
Is there a similar mechanism for one struct holding another?
You'd have to make the member a pointer to the struct. immutable(B)* b;