I am learning STL now. I read about set container. I have question when you want to use set? After reading description of set it looks like it is u
form cpluplus.com set:
Sets are containers that store unique elements following a specific order.
so the set is ordered AND item are uniquely represented
while vect:
Vectors are sequence containers representing arrays that can change in size.
so vector is in the order you fill it AND can hold multiple identical items
prefer set:
prefer vector: