D has become unbearable and it needs to stop

Walter Bright newshound2 at digitalmars.com
Fri Jun 16 02:05:21 UTC 2023


On 6/14/2023 7:44 PM, Chris Katko wrote:
> Tell any other object about yourself in the constructor? segfault. Because your 
> object isn't constructed till _after_ the constructor runs. There's a gotcha.

All objects are default constructed before the constructor is called.

I'll need an example?


More information about the Digitalmars-d mailing list