|
From: | Larry I Smith |
Subject: | Re: g++ Compile Problems Using Multiple Overloaded Operators in a Matrix Class |
Date: | Sat, 15 Jan 2005 14:56:51 GMT |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041220 |
Ulrich Eckhardt wrote:
Lastly a thing where I differ from Larry: there is no need to check apointer before invoking delete[] on it, as he does in theUli
This is a portability issue. Sadly, to this day, some compilers/libs on some OS'es will fault if a NULL value is passed to delete/delete[]. Regards, Larry -- Anti-spam address, change each 'X' to '.' to reply directly.
[Prev in Thread] | Current Thread | [Next in Thread] |