What are the known shortfalls of const in C++ and C++0x?
What's wrong with const is that many programmers don't seem to be able to understand it completely, and a "half-const-correct" project simply does not work. This is what you need to know:
Foo vs. const Foo (or Foo const)Foo& vs. const Foo& (or Foo const&)
Foo* vs. const Foo* (or Foo const*)
Foo* const and const Foo* const (or Foo const* const)void Foo::mutator() vs. int Foo::accessor() const
iterator vs. const_iterator
const iterator and const const_iteratorMigrating to C++ from a language that has no const concept is quite hard, any many fail to see the point.