My co-worker is 0 for 2 on questions he has inspired (1, 2), so I thought I\'d give him a chance to catch up.
Our latest disagreement is over the style issue of wher
Let me put my 2¢ into the discussion.
In modern C++ I'd recommend to stick to int const
instead of const int
to highlight the difference between const
and constexpr
. It would help programmer to remember that const int
cannot be always thought as compile-time constant, because: