mercredi 4 septembre 2019

deleting multiple ranges using remove-erase idiom

I have multiple ranges that are same length.
I want to filter them with same criteria using erase-remove idiom. Using remove_if for each range one by one is an option. But what would be the better approach to solve this problem? Is there a way to iterate and remove items simultaneously for multiple ranges?

Aucun commentaire:

Enregistrer un commentaire