Explicit default constructor for structs
Daniel Murphy
yebbliesnospam at gmail.com
Fri Apr 11 09:26:54 PDT 2014
"monarch_dodra" wrote in message
news:ktbdlcaqahsqmwkiddvc at forum.dlang.org...
> Why? The D version would just go from "object.Error Access Violation" to
> "AssertError null this".
>
> And in release, you'd still (highly probably) still get the Access
> Violation.
Sadly I've encountered C++ code that deliberately calls member functions on
null class pointers.
More information about the Digitalmars-d
mailing list