void Chusov::Memory::swap | ( | sbo_vector< ElementType, sbo_threshold, Allocator > & | left, |
sbo_vector< ElementType, sbo_threshold, Allocator > & | right | ||
) |
Swaps contents of two SBO vectors.
left | The first vector to swap the contents with right . |
right | The other vector to swap the contents with left . |
std::allocator_traits<allocator_type>::propagate_on_container_swap::value
is false.