Weird behavior with UDAs

Stanislav Blinov stanislav.blinov at gmail.com
Sat Jun 13 18:58:50 UTC 2020


On Saturday, 13 June 2020 at 13:08:29 UTC, realhet wrote:

> How can be a string represented with 'null' by default instead 
> on `""`. Unless I state it explicitly with name="" ? o.O

Because string is simply `alias string = immutable(char)[]`, and 
default initializer for arrays is null.


More information about the Digitalmars-d-learn mailing list