val.init

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Oct 6 16:21:56 PDT 2013


On Thu, 03 Oct 2013 11:59:05 +0200
"Rene Zwanenburg" <renezwanenburg at gmail.com> wrote:
> 
> struct A { int i = 5; }
> void main() { writeln(A.init.i); }
> 
> prints 5.
> 

Ahh, ok, I think that's what confused me.



More information about the Digitalmars-d-learn mailing list