auto storage class - infer or RAII?
Bill Baxter
wbaxter at gmail.com
Sun Nov 12 13:53:37 PST 2006
Walter Bright wrote:
> 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.
And I'm a bit surprised by your surprise, given that it creates a
special case rule for one particular, not-so-common situation, *AND* at
the same time breaks static opCall.
--bb
More information about the Digitalmars-d
mailing list