[Issue 7105] relax inout rules

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 14 11:44:49 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7105



--- Comment #2 from timon.gehr at gmx.ch 2012-02-14 11:44:47 PST ---
That is an enhancement of what is suggested here. It is not very clear that
inout should behave like that inside delegate/function pointer parameters.
Maybe it is best if you open another enhancement request that discusses your
design and its use cases in detail.

For example, what would be the meaning of the following declarations?

inout(int)[] delegate(inout(int)[] dg;
inout(int)[] foo(inout(int)[]delegate(inout(int)[] dg, inout(int)[] x){ ... }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list