What if we want to prevent someone changing the contents pointed by m_features? IIRC, this is constant overloading, please see the corresponding section in this article: http://www.cprogramming.com/tutorial/const_correctness.html