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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
  3. From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
  4. Subject: Re: Operator "new" - how to catch array-allocation?
  5. Message-ID: <1992Dec20.122527.2701@ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: MAXTAL P/L C/- University Computing Centre, Sydney
  9. References: <1992Dec14.143339.26314@daimi.aau.dk> <1992Dec17.131239.8036@daimi.aau.dk>
  10. Date: Sun, 20 Dec 1992 12:25:27 GMT
  11. Lines: 22
  12.  
  13. In article <1992Dec17.131239.8036@daimi.aau.dk> sabroe@daimi.aau.dk (Morten Sabroe Mortensen) writes:
  14. >The reason I raised this in the first place is, I'm about to build my own
  15. >special-purpose-heap-manager, -the way I would like it to work, is to attach
  16. >"something" to a given class, and then the result should be, that all dynamic
  17. >allocation involving that class should be managed - the way you allocate
  18. >should be independent of how heap-management is controlled - controlled by
  19. >the normal general-purpose manager or a special-purpose manager!
  20. >As I see it, -now-, I can't get this independency - except when allocating 
  21. >single instances of the used class! Right?
  22. >
  23.  
  24.     It is not currently possible to overload operator new[],
  25. if only because there is no such operator. There is a proposal
  26. before the committee to allow this, and I dont believe there are any
  27. in-principle objections to it. 
  28.  
  29.  
  30. -- 
  31. ;----------------------------------------------------------------------
  32.         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  33.     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  34. ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  35.