|
From: James W. W. <os...@jw...> - 2005-01-26 16:51:33
|
On Jan 26, 2005, at 5:40 AM, Roger Holmes wrote: > Sorry to be so stupid, but do you mean use the default operator new or > provide > one myself or provide one with an extra parameter or use > new(std::nothrow) ? > >> I agree. If you provide a constructor, I think it's OK to use plain >> old operator new. Unless you have a strategy for dealing with exceptions, and catching them before they try to escape from the library, then use new(std::nothrow), which is one of the standard versions of operator new. I did already in e3fformat_3dmf_textreader_new. -- <http://www.jwwalker.com/> |