Andrey Khropov Wrote: > Frits van Bommel wrote: > > the way C++ does const sucks :P. > Why? I remember that this is common knowledge, but I don't remember why. If memory serves, this is because in C++ you can 'unconst' parameters with a cast, so the compiler cannot really optimise the code.