fixing a build issue on SunCC when 'std::swap' can't be found