I just got it! (invariant/const)

Janice Caron caron800 at googlemail.com
Wed Apr 9 10:13:50 PDT 2008


On 09/04/2008, Steven Schveighoffer <schveiguy at yahoo.com> wrote:
>  A function does not necessarily need to take an invariant 'this' pointer to
>  be pure.
>
>  For example:
>  <snip>

Trouble is, that means we'll end up having to write "invariant" all
over the place, and it's really quite a long keyword!

Maybe Walter will let us shorten it to "in"? (Yes, I know "in" means
"const" right now).



More information about the Digitalmars-d mailing list