C++ vector array - remove duplicates
The snippet can be accessed without any authentication.
Authored by
Zandor Smith
vectorArray.erase(unique(vectorArray.begin(), vectorArray.end()), vectorArray.end());
Please register or sign in to comment