home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GCC258_2.LHA / gcc / lib / g++-include / swap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-27  |  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.