home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 7059 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  942 b 

  1. Path: sparky!uunet!mcsun!sunic!dkuug!diku!halgrim
  2. From: halgrim@diku.dk (Maz H. Spork)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: C++ and Database Manager
  5. Message-ID: <1992Dec16.144407.10078@odin.diku.dk>
  6. Date: 16 Dec 92 14:44:07 GMT
  7. References: <1992Dec15.075914.4144@eua.ericsson.se>
  8. Sender: halgrim@freja.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 13
  11.  
  12. The problem is the same old one: the embedding is not as close to your
  13. host language as you'd like it to be. Workaround: use dynamically allocated
  14. data or declare automatic locals in the head of your functions.
  15.  
  16. Alternatively, you can brace the offending locals inside the function in
  17. which case they'll never be constructed. 
  18.  
  19. Don't expect C++ exception handling to be supported much anywhere, as there
  20. is still much discussion as to its generality and usefulness (though all
  21. clear-minded thinkers know it's a good idea!)
  22.  
  23. M Spork
  24. halgrim@diku.dk
  25.