Template:cpp/container/swap ad

Exchanges the contents of the container adaptor with those of.

Return value
(none)

Complexity
Same as underlying container (typically constant).