home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / gnu / lib / g++-include / swap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-20  |  133 b   |  4 lines

  1. /* From Ron Guillmette; apparently needed for Hansen's code */
  2.  
  3. #define swap(a,b) ({ typeof(a) temp = (a); (a) = (b); (b) = temp; })
  4.