[Mono-devel-list] Comparing against null
joe at otee.dk
Thu Apr 7 13:08:05 EDT 2005
>> In the general case i agree but i think for what we are doing it makes
>> obvious sense to compare against nulll and return true if the C++
>> representation is not around anymore, since it will generate exceptions if
>> you use it anyway.
> This usage lies somewhere in the gray, murkey watters between ugly and
> wrong. I'd advise you find some other way to do what you want.
I disagree but do you have a better suggestion?
More information about the Mono-devel-list