home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / programmieren / c-c++ / gnu / lib / g++-include / swap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  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.