How to provide stl like container with public const iterator and private non-const iterator?
I have a class that includes a std::list and wish to provide public begin() and end() for const_iterator and private begin() and end() for just plain iterator.
问答
阅读(1)