http://d.puremagic.com/issues/show_bug.cgi?id=4954
Summary: Clarify documentation of foreach with delegates.
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: websites
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Austin Hastings <[email protected]> 2010-09-28 14:47:38
PDT ---
The foreach/opApply docs acknowledge that the Aggregate in a foreach statement
might be a delegate, but that section needs to be fleshed out with more text
and/or an example or two:
~~~~~~~~~~
Foreach over Delegates
If Aggregate is a delegate, the type signature of the delegate is of the same
as for opApply. This enables many different named looping strategies to coexist
in the same class or struct.
~~~~~~~~~~
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------