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_Β­, or !nh.alloc_Β­, or ator_Β­traits​::​propagate_Β­on_Β­container_Β­swap is true, or alloc_Β­ == nh.alloc_Β­.

Effects: Calls swap(ptr_Β­, nh.ptr_Β­). If !alloc_Β­, or !nh.alloc_Β­, or ator_Β­traits​::​propagate_Β­on_Β­container_Β­swap is true calls swap(alloc_Β­, nh.alloc_Β­).