[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] placement of const is _not_ a matter of style ...
From: |
Carsten Kunze |
Subject: |
Re: [groff] placement of const is _not_ a matter of style ... |
Date: |
Sun, 6 May 2018 16:46:30 +0200 (CEST) |
> Ralph Corderoy <address@hidden> hat am 6. Mai 2018 um 00:03 geschrieben:
> Just to make certain we're arguing about the same thing, I'm talking C
> here, not C++. I've no idea whether C++ is the same or different in
> this respect, and don't wish to learn. :-)
As said the same applies for C++. "const int *" is identical to "int const *",
both is a pointer to constant ints. To get a constant pointer you need to write
"* const".