Mixing array prefix/postfix declaration

bearophile bearophileHUGS at lycos.com
Sun Apr 3 10:14:01 PDT 2011


simendsjo:

> C style array declarations is still supported (but frowned upon..?).

C style array declarations are still supported, and accepted if you are porting C/C++ code to D. Otherwise it's generally better to use D style array declarations.


> But why are C and D style array declarations supported on the same declaration?

I will add this to Bugzilla.


> Is C style array declarations deprecated?

They aren't deprecated (yet).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list