Advertisement
rnort

Untitled

Oct 19th, 2011
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.09 KB | None | 0 0
  1. template<class T>
  2.  void swap(T& x,T& y)
  3.  {
  4.    T temp = x;  
  5.    x = y;    
  6.    y = temp;  
  7.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement