[Issue 1227] Access Violation when using comparison of template class pointer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 11 11:07:52 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1227


deewiant at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from deewiant at gmail.com  2007-05-11 13:07 -------
Invalid, as explained in the NG: use "is", not "==" to compare object pointers,
as the latter transforms into a call to object.opEquals, which will fail if the
object is null.


-- 



More information about the Digitalmars-d-bugs mailing list