struct variable initialized with void.

ref2401 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 31 08:12:52 PDT 2015


struct MyStruct {
	// stuff
}

void main(string[] args) {
	MyStruct s1 = void;
}

Could anyone describe me what this initialization does, please?
When do I need to use the void initialization?


More information about the Digitalmars-d-learn mailing list