constexpr void swap(node-handle& nh)
noexcept(ator-traits::propagate_on_container_swap::value ||
ator-traits::is_always_equal::value);
Preconditions:
!alloc_ is
true, or
!nh.alloc_, or
ator-traits::propagate_on_container_swap::value is
true,
or
alloc_ == nh.alloc_ is
true. Effects: Calls
swap(ptr_, nh.ptr_). If
!alloc_ is
true, or
!nh.alloc_ is
true, or
ator-traits::propagate_on_container_swap::value
is
true calls
swap(alloc_, nh.alloc_).