switch(string)

Nick Sabalausky a at a.a
Wed Jun 18 14:10:20 PDT 2008


"Robert Fraser" <fraserofthenight at gmail.com> wrote in message 
news:g3al00$20ml$1 at digitalmars.com...
> invariant string BAR1 = "bar1";
>
> If "string" isn't specified it will be deduced.
>

To clarify:

invariant BAR1 = "bar1";

Is shorthand for:

invariant auto BAR1 = "bar1";

And "auto" means the type is deduced. 




More information about the Digitalmars-d-learn mailing list