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



--- Comment #5 from Kenji Hara <k.hara...@gmail.com> 2012-02-19 03:37:40 PST ---
(In reply to comment #1)
> Another use case is to support foreach on a container of arbitrary constancy,
> by using
> 
>     int opApply(int delegate(ref inout(T)) dg) inout;

I think that the inout parameter contravariant (I've filed as issue 7542) is
necessary due to enable such signatures.

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

Reply via email to