26 Containers library [containers]

26.2 Container requirements [container.requirements]

26.2.4 Node handles [container.node]

26.2.4.5 node_­handle modifiers [container.node.modifiers]

void swap(node_handle& nh) noexcept(ator_traits::propagate_on_container_swap::value || ator_traits::is_always_equal::value);

Requires: !alloc_­, или !nh.alloc_­, или ator_­traits​::​propagate_­on_­container_­swap есть true, или alloc_­ == nh.alloc_­.

Effects: Звонки swap(ptr_­, nh.ptr_­). Если !alloc_­, или !nh.alloc_­, или ator_­traits​::​propagate_­on_­container_­swap это true звонки swap(alloc_­, nh.alloc_­).