C++ - Erase Remove
An efficient in-place way to remove elements in a container
Introduction
It’s a common task to remove items in a sequential container that fits a criteria, like an array, vector, queue, etc. For this scenario in C++, it’s advised to use the erase-remove id...