Const is not worthwhile - the vast majority of variable I use are const.
Fully identifying this would be painful.
I just worked on some C++ code which would not compile after a compiler/STL version change because of a great many things, including changing interpretations of const.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.