Max Samukha:

> Don't get confused by 'new' in struct initializers. Structs in C# are
> value types.

Yes, you are right.

But in D structs can be allocated on the heap too, so I think having optional 
nonnull struct pointers can be useful. The syntax and usage is similar to 
normal struct pointers.

Bye,
bearophile

Reply via email to