[Issue 7543] inout opApply should work properly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 9 16:05:23 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7543
--- Comment #9 from timon.gehr at gmx.ch 2012-03-09 16:05:28 PST ---
(In reply to comment #8)
>
> Indeed. The point is that there are two possible interpretations of the
> opApply signature, and the spec isn't clear on which applies:
>
> (a) the constancy is passed through to the delegate
> (b) the delegate has an inout parameter in its own right
>
> See the newsgroup thread I've already linked to for a more detailed discussion
> of this.
The main issue is that both (a) and (b) are useful in different contexts.
Otherwise this would be a no-brainer.
--
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