const int vs. int const

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 15 12:14:11 PDT 2014


On 8/15/2014 12:06 PM, eles wrote:
> But, I agree, I am a follower of the rule:
>
> const is written after and applies to everything that comes left of it.

That rule can never work for D. Remember, D's const is transitive.



More information about the Digitalmars-d mailing list