Acces Violation: assert with null instance

Lionello Lunesu lio at lunesu.remove.com
Fri Jan 5 03:56:35 PST 2007


Lionello Lunesu wrote:
> I really think this used to work (like in C++) :

..Guess not. I've just tested with some old versions, as old as 0.119, 
and I still got the Access Violation. Odd.

Shouldn't it work though?

Class c = null;
assert(c);

L.


More information about the Digitalmars-d-learn mailing list