www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4954] New: Clarify documentation of foreach with delegates.

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: ah08010-d yahoo.com



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: -------
Sep 28 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4954


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com
           Severity|normal                      |enhancement


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