return string from inside if block => Segmentation Fault: 11
Alex Parrill via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 1 10:31:19 PDT 2015
On Monday, 1 June 2015 at 17:19:50 UTC, Robert M. Münch wrote:
>
> Isn't the construtor of the contained types run when the class
> is constructed? Or do I need to explicitly initialize the
> contained types on my own?
>
> (haven't touched the OO part of D yet so much)
Classes are not automatically created; they default to null.
More information about the Digitalmars-d-learn
mailing list