Why can't we define re-assignable const reference variable?

Janice Caron caron800 at googlemail.com
Wed Feb 20 12:28:57 PST 2008


On 20/02/2008, Janice Caron <caron800 at googlemail.com> wrote:
>  If you want the array also to be invariant - no problemo! Just put the
>  array inside the brackets too - "invariant(char)[]".

That was a typo. Allow me to correct myself.

If you want the array also to be invariant - no problemo! Just put the
array inside the brackets too - "invariant(char[])".



More information about the Digitalmars-d mailing list