Functions | |
| template<typename ForwardIterator1, typename ForwardIterator2> ForwardIterator2 | ustl::swap_ranges (ForwardIterator1 first, ForwardIterator2 last, ForwardIterator2 result) |
| template<typename Assignable> void | ustl::swap (Assignable &a, Assignable &b) |
| template<typename Iterator> void | ustl::iterator_swap (Iterator &a, Iterator &b) |
|
||||||||||||||||
|
Equivalent to swap (*a, *b) |
|
||||||||||||||||
|
Assigns the contents of a to b and the contents of b to a. This is used as a primitive operation by many other algorithms. |
|
||||||||||||||||||||
|
Swaps corresponding elements of [first, last) and [result,) |