Code behaves incorrectly if it is compiled in std.functional

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 8 00:30:06 PDT 2015


On Sun, 07 Jun 2015 18:50:07 +0200, Timon Gehr wrote:

> On 06/06/2015 08:10 AM, ketmar wrote:
>> if `auto` can play a role of type placeholder
> 
> There is no such thing as a type placeholder.

there is:

`immutable auto` -- ok
`immutable const` -- not ok

ergo, `auto` is not a storage class, but type placeholder.
-------------- 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/d7e9ff99/attachment-0001.sig>


More information about the Digitalmars-d mailing list