Optional extra return value? Multiple return values with auto?

Era Scarecrow rtcvb32 at yahoo.com
Tue Aug 14 18:22:38 PDT 2012


On Wednesday, 15 August 2012 at 00:37:32 UTC, ReneSac wrote:
> And my last question of my first post: I can't use "auto" for 
> the "out" values right? An enhancement proposal like this would 
> be compatible with D?

  I would say.... No. Maybe if it was a union, but I don't think 
so;.It still needs to know it's type when it's working with, aka 
statically typed (known at compile-time).

  The auto as an out variable may work in an interpreted or more 
dynamic language.


More information about the Digitalmars-d-learn mailing list