C++: using the standard template library

Example:

set s;
The Standard Template Library (STL) provides a set of useful template classes.

Solution:

s.insert(10);  // Inserts 10 into the set

Beginner's Guide to C++