Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: using references vrs. pointers Message-ID: <8846@alice.UUCP> Date: 28 Jan 89 17:48:05 GMT References: <583@orbit.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 12 Perhaps the most fundamental difference between references and pointers is that a pointer is an object and a reference is not. A reference is just a way of binding a name to an already existing object. Thus using pointers allows you to treat the pointers themselves as objects that can be copied, passed as arguments, returned, placed into structures, and so on. There's no way to do that with references. -- --Andrew Koenig ark@europa.att.com