On Friday, 2 August 2013 at 12:37:00 UTC, John Colvin wrote:
Are all types guaranteed to have a working .init value? I can't think of any way not to, but I just want to be sure.

Not sure what you mean by "working" but there is a hard guarantee that for any type "T.init" will compile and result in some value. That was the key idea behind .init and reason why default constructors are prohibited for structs.

Reply via email to