boost::log::swap — A free-standing swap for slim strings.
// In header: <boost/log/utility/slim_string.hpp> template<typename CharT, typename TraitsT> void swap(basic_slim_string< CharT, TraitsT > & left, basic_slim_string< CharT, TraitsT > & right);