KDAB / KDAlgorithms

Algorithm wrappers
Other
82 stars 14 forks source link

In `remove` / `removeIf`, return the number of deleted elements #9

Closed dangelog closed 2 years ago

dangelog commented 2 years ago

This one should be fairly incontroversial: don't discard information that the algorithms may return to you.

dangelog commented 2 years ago

This also applies to remove_duplicates.