home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18255 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.c++
  2. 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
  3. From: pjl@cs.uiuc.edu (Paul Lucas)
  4. Subject: Re: overload = for pointers? redefine pointer decl syntax?
  5. Message-ID: <BzKx8r.1H3@cs.uiuc.edu>
  6. Sender: news@cs.uiuc.edu
  7. Organization: University of Illinois at Urbana-Champaign
  8. References: <lj9otuINN7ll@boogie.cs.utexas.edu>
  9. Date: Sun, 20 Dec 1992 22:31:39 GMT
  10. Lines: 16
  11.  
  12. In <lj9otuINN7ll@boogie.cs.utexas.edu> wilson@cs.utexas.edu (Paul Wilson) writes:
  13.  
  14. >Are there any C++ compilers that let me define my own overloaded
  15. >versions of (normally) builtin operations on builtin types?  In
  16. >particular, I'd very much like to be able to redefine the way
  17. >operator = works on pointers, for garbage collection purposes.
  18. >(And maybe redefine it for all primitive types, for checkpointing
  19. >purposes.)
  20.  
  21. *****>    If there are, they violate the language; your code would not
  22.     be portable.
  23.  
  24. -- 
  25.     - Paul J. Lucas                University of Illinois    
  26.       AT&T Bell Laboratories        at Urbana-Champaign
  27.       Naperville, IL            pjl@cs.uiuc.edu
  28.