if(;){} opinion
Lionello Lunesu
lio at remove.lunesu.com
Tue Feb 28 06:06:25 PST 2006
Walter said:
>>>> Thus, 'auto' now means "allocate on the stack" and if the type is
>>>> missing it also means "infer the type."
So I suppose 1 "auto" would suffice.
L.
"Derek Parnell" <derek at psych.ward> wrote in message
news:op.s5ol8l1e6b8z09 at ginger.vic.bigpond.net.au...
> On Tue, 28 Feb 2006 21:03:14 +1100, Walter Bright
> <newshound at digitalmars.com> wrote:
>
>>
>> "Lionello Lunesu" <lio at remove.lunesu.com> wrote in message
>> news:du10fg$q5p$1 at digitaldaemon.com...
>>> Do you mean the two seemingly different "auto"s are not ambigious?
>>
>> That's right.
>>
>
> I've forgotten: what's the syntax to automatically allocate on the static,
> a variable whose type is automatically type-cast? Is it ...
>
> auto auto x = readtext(somefile);
>
> --
> Derek Parnell
> Melbourne, Australia
More information about the Digitalmars-d
mailing list