Is there any predefined function in c++ to eliminate duplicate elements?

please also tell library of that function !

unique

1 Like