home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2GNU / LGP271B.ZIP / lang / cxx / swap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-26  |  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.