Fixed-size arrays and 'null'

bearophile bearophileHUGS at lycos.com
Thu Nov 12 10:53:13 PST 2009


Max Samukha:

> What's the advantage?

null is for a pointer/reference. A dynamic array in D is a struct. [] looks much better to denote an empty array-struct.

Bye,
bearophile



More information about the Digitalmars-d mailing list