I know that it is a bad idea to inherit from stl classes. But is there any other way to extend them?
Let's say that to improve readability, I wanted to be able to call an "add" method on my vectors instead of the less readable "push_back".
Or perhaps I want to add a simple hasKey method to my std::map.
Is there any way that I could do that, aside from creating an entire wrapper class with a std::vector as a member, passing each function call from my wrapper to the vector?