Path: utzoo!mnetor!uunet!husc6!cca!alex From: alex@cca.CCA.COM (Alexis Layton) Newsgroups: comp.lang.c++ Subject: overloaded function question Message-ID: <26776@cca.CCA.COM> Date: 8 Apr 88 21:00:10 GMT Reply-To: alex@cca.UUCP (Alexis Layton) Organization: Computer Corp. of America, Cambridge, MA Lines: 28 Here is a question about overloaded functions: Suppose we make the following definition: overload exchange; inline void exchange(void *& a, void *& b) { void *c = a; a = b; b = c; } Now, does this version of the function get called for Foo *a; Foo *b; . . . exchange(a, b); ??? Thanks. Alexis Layton alex@CCA.CCA.COM