This is my swap function:
template void swap (t& x, t& y) { t temp = x; x = y; y = temp; return; }
There is a std::swap in