Code behaves incorrectly if it is compiled in std.functional
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 8 02:33:56 PDT 2015
On Mon, 08 Jun 2015 09:27:34 +0000, Marc Schütz wrote:
>> ergo, `auto` is not a storage class, but type placeholder.
>
> No.
and it's not a storage class too. `foreach (auto i; 0..42)` doesn't work,
white `foreach (immutable i; 0..42)` works ok.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150608/3cbe3377/attachment.sig>
More information about the Digitalmars-d
mailing list