Classes in D and C++

Uno unodgs at tlen.pl
Mon Mar 5 06:24:15 PST 2007


> You can do:
> 
> 	auto x = X(3);
> 
> and x will be put on the stack.

I didn't know that shortcut.. thanks! Now it looks much better and it's acceptable for me, but c++ form is still shorter and more elegant (of course it's disputable).




More information about the Digitalmars-d mailing list