[bt-devel] Programming Techniques

David White bt-devel@crosswire.org
09 Mar 2002 20:05:04 +1100


oh, just something I forgot in my earlier reply...

On Sat, 2002-03-09 at 03:08, Joachim Ansorg wrote:
> AFAIK Qt overloads the new operator, but I'm not sure about this.

I don't like the sound of this at all. If it overloads it not to throw
exceptions, then presumably it overloads it to return NULL on failure to
allocate. This means that to be robust, a program must check for NULL on
*every* memory allocation. Not a good thing at all.

David.