boostorg / graph_parallel

Boost.org graph_parallel module
http://boost.org/libs/graph_parallel
27 stars 38 forks source link

Replace std::swap overload for outgoing messages #14

Closed jwakely closed 3 years ago

jwakely commented 6 years ago

Adding overloads to namespace std is undefined behaviour. The correct way to customize swap is to provide an overload in the type's own namespace, so it will be found by ADL.