inout/out static array parameter

Regan Heath regan at netwin.co.nz
Tue Feb 21 23:28:08 PST 2006


On Wed, 22 Feb 2006 16:09:47 +1100, Derek Parnell <derek at psych.ward> wrote:
>> I think it depends on what "conceptual" really means in this case, in
>> terms of "how it works"(TM) I think it's closer to this:
>
> No, I wasn't thinking "implementation" I was thinking "common sense".

Arrays are passed as references (AKA "array reference"). Passing a  
static/constant reference as 'inout' should be illegal. Is that not common  
sense?

Regan



More information about the Digitalmars-d mailing list