const int vs. int const
eles via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 15 12:06:10 PDT 2014
On Friday, 15 August 2014 at 18:47:49 UTC, Walter Bright wrote:
> On 8/15/2014 10:45 AM, H. S. Teoh via Digitalmars-d wrote:
> It is not ambiguous from a semantic or syntactic point of view,
> but it appears to be ambiguous for those coming from C++. This
I like this example from the C world:
http://stackoverflow.com/a/5503661/1284631
But, I agree, I am a follower of the rule:
const is written after and applies to everything that comes left
of it.
More information about the Digitalmars-d
mailing list