I like STL a lot. It makes coding algorithms very convenient since it provides you will all the primitives like parition, find, binary_search, iterators, priority_queue etc. Plus you dont have to worry about memory leaks at all.
My only concern is the performance penalty of operator overloading that is necessary to get STL working. For comparison, I think it relies that == provides the needed semantics. We need to overload ==operator if we are adding our classes to a container.
How much efficiency am I losing for this convenience?
Another aside question regarding memory leaks:
- Can memory leak ever happen when using STL containers?
- Can a memory leak ever happen in Java?