To help LDC/GDC

Jesse Phillips Jessekphillips+d at gmail.com
Tue Apr 9 07:09:40 PDT 2013


On Tuesday, 9 April 2013 at 13:49:12 UTC, Dicebot wrote:
> struct Test
> {
>     int a;
>     pure int foo1() // strong pure
>     {
>         return 42;
>     }
>
>     pure int foo2() // weak pure
>     {
>         return a++;
>     }
> }

Isn't it

pure int foo1() const // strong pure


More information about the Digitalmars-d mailing list