No subject


Sat Nov 15 23:40:05 PST 2008


lvalues, i.e. they can have their address taken, and occupy storage."

This one works:

immutable(int)* func() {
    return &val;
}

I assume that this is supposed to work too:

ref immutable(int) func() {
    return val;
}


-- 



More information about the Digitalmars-d-bugs mailing list