this() in struct

Zhenya zheny at list.ru
Tue Oct 9 10:08:35 PDT 2012


On Tuesday, 9 October 2012 at 17:21:47 UTC, Zhenya wrote:
> Hi!
> I'm sorry,maybe this topic already was discussed,but could 
> anybody explain me
> why default constructor was disallowed in structs?

And if I have to do some initialization of data members,what is 
the way to do it?


More information about the Digitalmars-d-learn mailing list