Iterator2 Iterator1 Iterator1 Iterator2 command_queue & An iterator pointing to the end of the second range. Swaps the elements in the range [first1, last1) with the elements in the range beginning at first2.