14 #ifndef TLX_SORT_NETWORKS_CSWAP_HEADER 15 #define TLX_SORT_NETWORKS_CSWAP_HEADER 27 namespace sort_networks {
31 template <
typename Comparator>
37 template <
typename Type>
54 #endif // !TLX_SORT_NETWORKS_CSWAP_HEADER void operator()(Type &left, Type &right)
CS_IfSwap(Comparator cmp)
Conditional swap implementation used for sorting networks: trivial portable C++ implementation with c...
void swap(CountingPtr< A, D > &a1, CountingPtr< A, D > &a2) noexcept
swap enclosed object with another counting pointer (no reference counts need change) ...