home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!pjl
- From: pjl@cs.uiuc.edu (Paul Lucas)
- Subject: Re: overload = for pointers? redefine pointer decl syntax?
- Message-ID: <BzKx8r.1H3@cs.uiuc.edu>
- Sender: news@cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- References: <lj9otuINN7ll@boogie.cs.utexas.edu>
- Date: Sun, 20 Dec 1992 22:31:39 GMT
- Lines: 16
-
- In <lj9otuINN7ll@boogie.cs.utexas.edu> wilson@cs.utexas.edu (Paul Wilson) writes:
-
- >Are there any C++ compilers that let me define my own overloaded
- >versions of (normally) builtin operations on builtin types? In
- >particular, I'd very much like to be able to redefine the way
- >operator = works on pointers, for garbage collection purposes.
- >(And maybe redefine it for all primitive types, for checkpointing
- >purposes.)
-
- *****> If there are, they violate the language; your code would not
- be portable.
-
- --
- - Paul J. Lucas University of Illinois
- AT&T Bell Laboratories at Urbana-Champaign
- Naperville, IL pjl@cs.uiuc.edu
-