auto storage class - infer or RAII?

Walter Bright newshound at digitalmars.com
Sun Nov 12 10:59:05 PST 2006


Carlos Santander wrote:
> I don't think they're valid concerns (meaning they're subjective, not 
> everyone will have those ideas), but I think we (the D community) just 
> want a way to clearly differentiate both meanings of auto. So, choose 
> any two words: auto/scope, var/auto, def/scoped, foo/bar, and let's move 
> on.

I think the auto/scope is probably the best idea.

> Also keep in mind that your option #5 (auto c = Class()) doesn't seem to 
> be a popular proposal (based on what has been said in the ng).

I'm a bit surprised at that, but the negative reaction to it is pretty 
clear.



More information about the Digitalmars-d mailing list