Add := digraph to D
Mehrdad
wfunction at hotmail.com
Thu Jun 21 00:35:32 PDT 2012
On Thursday, 21 June 2012 at 05:54:32 UTC, Lars T. Kyllingstad
wrote:
> No. Many don't realise this, but "auto" doesn't actually stand
> for "automatic type inference". It is a storage class
>
> Lars
auto int a = 5;
// Error: variable a storage class 'auto' has no effect if type
is not inferred, did you mean 'scope'?
I don't understand what kind of a "storage class" this is.
You would be correct in C, but is it really a 'storage class' in
D?
(Sure it's called that, but it doesn't seem to behave like one...)
More information about the Digitalmars-d
mailing list