Write C++ container that fits neatly into STL
问题 I would like to write a container class in a style which fits very neatly into STL. It should look and behave as if it where a standard STL container. Is there a manual, report, Q&A, etc., out there that describes how to write code with these set of features? Such a text should compromise design principles of the STL, pitfalls, coding conventions, and the like. PS: This question has been partly inspired by that one: C++ vector with dynamic item size although that idea is not about template