Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

Kenji Hara via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 9 08:08:39 PDT 2014


2014-10-09 23:17 GMT+09:00 Steven Schveighoffer via Digitalmars-d <
digitalmars-d at puremagic.com>:

>
> Just one point to make, this will still work, right?:
>
> const {
>    int foo();
> }
>
> const:
>    int foo();
>

My PR still allows those block or label style attributes.

Kenji Hara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141010/e3337d78/attachment.html>


More information about the Digitalmars-d mailing list