|
From: Nicholas N. <nj...@ca...> - 2004-07-15 16:29:59
|
On Wed, 14 Jul 2004, Tom Hughes wrote: >> That's what I was afraid of. Hmm. Would it be better to abort with a >> warning if new/new[] failed? And maybe have an option that lets them >> return NULL? Silently doing the wrong thing (not throwing an >> exception) is bad. > > Aborting is probably better, yes. That's what I've done. A better scheme can be implemented if necessary. N |