Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 10 11:19:05 PDT 2014
"Martin Nowak" wrote in message news:m15i9c$51b$1 at digitalmars.com...
> const int foo();
The existing behavior would be great to have if we were deliberately trying
to trip up all programmers coming from C++. Kill it with fire.
More information about the Digitalmars-d
mailing list