[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] Forwarded: Re: placement of const is _not_ a matter of style ...
From: |
Mike Bianchi |
Subject: |
[groff] Forwarded: Re: placement of const is _not_ a matter of style ... |
Date: |
Sun, 6 May 2018 13:36:44 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
I wrote:
> > >> const char *foo;
> > >> char const *foo;
>
> No, those two have identical meaning.
Not according to:
https://en.wikipedia.org/wiki/Const_(computer_programming)
:
:
I was wrong. Those two lines _are_ identical.
The example code I lifted even illustrated that.
const int *ptrToConst; //identical to: int const *ptrToConst,
My apologies to [groff].
((more to come))
--
Mike Bianchi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] Forwarded: Re: placement of const is _not_ a matter of style ...,
Mike Bianchi <=