help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ Compile Problems Using Multiple Overloaded Operators in a Matrix


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 a
pointer before invoking delete[] on it, as he does in the

Uli


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]