4 ms·
it's a good trick but letting the compiler warn you is better (and of course always compiling warning-clean so you'll notice it). There's plenty of times where
by joeld42 17y ago
it's a good trick but letting the compiler warn you is better (and of course always compiling warning-clean so you'll notice it). There's plenty of times where both sides are non-const and this trick won't save you when that happens.