In C++26, the comparison value type will default to the same as the vector value type. Evaluate if we can do this across all versions. https://en.cppreference.com/w/cpp/container/vector/erase2