A decent C++ compiler (can't believe I wrote that) can perform several useful optimizations if you have correctly used const. It can also create a program which crashes spectacularly if you have used const incorrectly.
In reply to Re^2: const correctness
by chromatic
in thread const correctness
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |