Boost logo

Boost :

From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2007-08-13 12:19:25

Although it's legal to overload std::swap for custom types, in my
experience it's very uncommon to do so. More importantly than my
personal experience though - no boost classes provide a swap function
in namespace std.

>From a conceptual point of view, a non-member swap function forms part
of a classes public interface, so it really belongs in the same

Boost list run by bdawes at, gregod at, cpdaniel at, john at