## 23.4 Sets (cont.)

- Elements are maintained in sequence (sorted order)
- Fast lookups
- Need to compare elements, unlike the fundamental containers
- Template parameters:

  >     template <typename T, typename CMP = less<T> >
  >     class set
  >     {
  >        . . .
  >     };

- Second argument is the trait that compares two elements
- The default value is the standard `less` function object (`operator<`)

prev |top |next