title: c++: STL Algorithms that are applied on vectors works for other container objects as well?
body: <p>Hi i have used some stl algorithms on vectors like find_if,count_if, sort, push_back etc. Now i want to make a generic code for all container objects(vectors,lists,maps,sets). Do i need to modify my stl functions for them or are they all same?</p>