GNU g++  v5.2.1
GNU Standard C++
Set Operation
Collaboration diagram for Set Operation:

These algorithms are common set operations performed on sequences that are already sorted. The number of comparisons will be linear.