#include #include int main(int argc, char **argv) { int a=5; int b=3; boost::swap(a,b); printf("a=%d, b=%d\n",a,b); return 0; }