const

Janice Caron caron800 at googlemail.com
Fri Mar 28 12:58:37 PDT 2008


On 28/03/2008, renoX <renosky at free.fr> wrote:
>  > I've suggested "view" in the past,
>
> I like it a lot: view as in 'view but don't touch' :-)

I like that one too. It's shorter than "readonly" as well, which is
another big plus.

Under that regime, my "ideal" would be

    in -> view
    const -> view
    invariant -> const
    enum -> const



More information about the Digitalmars-d mailing list