Namespaces
Variants
Views
Actions

Template:cpp/algorithm/notes swap vectorization

From cppreference.com

Implementations (e.g. MSVC STL) may enable vectorization when the iterator type satisfies LegacyContiguousIterator and swapping its value type calls neither non-trivial special member function nor ADL-found swap.