// swapDriver.cpp

#include <iostream>
#include <string>
//using namespace std;    // CW, Visual seem to have a swap() function in the std namespace
#include "swap.h"

int main()
{
   int i1 = 11,
       i2 = 22;
   swap(i1, i2);
   std::cout << i1 << ' ' << i2 << std::endl;

   double d1 = 33.3,
          d2 = 44.4;
   swap(d1, d2);
   std::cout << d1 << ' ' << d2 << std::endl;

   std::string s1 = "Hi",
               s2 = "Ho";
   swap(s1, s2);
   std::cout << s1 << ' ' << s2 << std::endl;



   return 0;
}