14#include <unordered_set>
22 std::unordered_set<T> aSet;
23 auto aEnd = std::copy_if(rVector.begin(), rVector.end(), rVector.begin(),
24 [&aSet](T
const& rElement) { return aSet.insert(rElement).second; });
25 rVector.erase(aEnd, rVector.end());
void remove_duplicates(std::vector< T > &rVector)