Delete from specific indexes in a std::vector

Viewed 15585

Say I have a std::vector with 5 elements and I need to delete elements from indexes 1 and 3 what would be the fastest way to do this. Are there any helper methods in the standard library that could do this for me ?

4 Answers
Related