The D tour for structs uses a syntax similar to that of C++ in
order to initialize a Person struct : Person p(30, 180). Is this
syntax supported in D ? Running that part of the code neither
works on the playground nor on my machine (dmd v2.076.0).
- Struct initialization syntax Azi Hassan via Digitalmars-d-learn
- Re: Struct initialization syntax H. S. Teoh via Digitalmars-d-learn
- Re: Struct initialization syntax arturg via Digitalmars-d-learn
- Re: Struct initialization synt... H. S. Teoh via Digitalmars-d-learn
- Re: Struct initialization synt... Azi Hassan via Digitalmars-d-learn