close
Пространства имён
Варианты
Действия

std::multimap::swap

Материал из cppreference.com

<metanoindex/>

 
 
 
 
<tbody> </tbody>
void swap( multimap& other );

Exchanges the contents of the container with those of other. All iterators and references remain valid.

The behavior is undefined if get_allocator() != other.get_allocator() and std::allocator_traits<allocator_type>::propagate_on_container_swap::value != true.

Параметры

other
Контейнер для обмена содержимым с
Оригинал:
container to exchange the contents with
Текст был переведён автоматически используя Переводчик Google.
Вы можете проверить и исправить перевод. Для инструкций щёлкните сюда.

Возвращаемое значение

(Нет)

Исключения

спецификация noexcept:  
noexcept
  

Сложность

Constant

См. также

специализация алгоритма std::swap
(шаблон функции) [править]