Re: mutt: Improve const correctness
SF Markus Elfring wrote:
: This coding style can be an indication for the function signatures
: where I suggest a correction.
: The rationale for the modifier ordering can be found in the article
: "Const Correctness Part 4" by Darren Collins.
: http://codecraft.pool-room.com/Cpp/const-correctness-4.html
Sorry, but
const int* var;
is more convenient than
int const* var;
I have 'var' of type 'int*' and with 'const' as modifier,
not the 'var' of type 'const*' with 'int' as modifier :-)
--
Andrew W. Nosenko <andrew.w.nosenko@xxxxxxxxx>