Type Qualifiers and Wild Cards

so so at so.so
Tue Nov 8 09:17:35 PST 2011


On Tue, 08 Nov 2011 19:09:40 +0200, deadalnix <deadalnix at gmail.com> wrote:

> You'll face a problem when it come to define variable within the  
> function and not in its definition.
>
> I'm affraid this will become very confusing in this case.

inout fun(inout) {
    inout var; // This is what you are saying i believe.
    ....
}

You are definitely right, if this use case was intended.


More information about the Digitalmars-d mailing list