Why does this simple program segfault?
BCS
ao at pathlink.com
Tue Aug 14 16:46:34 PDT 2007
Reply to Bill,
> Isn't there something we can do about this? I do this about once a
> day when in a heavy D using phase. It bites newbies and
> not-so-newbies alike. I almost think it should be made so that no
> initializer calls the default constructor, and if you really want it
> to be null then you should initialize with null:
>
we could change the seg-v message to "Did you forget to new somthing?"
More information about the Digitalmars-d-learn
mailing list