Convert array to set in C++

Viewed 26351

Is there an easier way to turn an array in to a set using c++ rather than looping through its elements?

Preferably using the standard template library

5 Answers
Related