I just got it! (invariant/const)

Janice Caron caron800 at googlemail.com
Wed Apr 9 06:40:37 PDT 2008


On 09/04/2008, Jason House <jason.james.house at gmail.com> wrote:
>  Consider this example:
> <snip>

Oh well, that's obvious. f() can't call D.invMemberFunc() because
D.invMemberFunc() isn't pure. Pure functions can only call other pure
functions.

You know that. I know that. Why would anyone think it strange?



More information about the Digitalmars-d mailing list