Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: typeof isn't enough to define swap correctly Message-ID: <1109@bsu-cs.UUCP> Date: Fri, 4-Sep-87 22:35:36 EDT Article-I.D.: bsu-cs.1109 Posted: Fri Sep 4 22:35:36 1987 Date-Received: Sat, 5-Sep-87 23:22:06 EDT References: <557@rocky.STANFORD.EDU> <1880@sol.ARPA> <109@umigw.MIAMI.EDU> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 8 In article <109@umigw.MIAMI.EDU> steve@umigw.UUCP (steve emmerson) writes: [about an allegedly universal swap() macro] >It also won't work with pure array objects (i.e. swapping one array with >another). A generic routine should be able to work with *anything*. Including register variables. -- Rahul Dhesi UUCP: {ihnp4,seismo}!{iuvax,pur-ee}!bsu-cs!dhesi