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

Reply via email to