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: Ulrich Eckhardt
Subject: Re: g++ Compile Problems Using Multiple Overloaded Operators in a Matrix Class
Date: Sat, 15 Jan 2005 17:35:40 +0100
User-agent: KNode/0.8.1

Larry I Smith wrote:
> 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 
>> 
> 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[].

/me looks around and sees GCC.

Could you give examples, so I can avoid them?

thanks

Uli

-- 
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/


reply via email to

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