[Issue 11753] New: byKeyValue missing from built-in hashtables
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Dec 16 14:56:13 PST 2013
    
    
  
https://d.puremagic.com/issues/show_bug.cgi?id=11753
           Summary: byKeyValue missing from built-in hashtables
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrei at erdani.com
--- Comment #0 from Andrei Alexandrescu <andrei at erdani.com> 2013-12-16 14:56:10 PST ---
There's no range to iterate keys and values simultaneously in a built-in hash
table. foreach offers a baked-in way to iterate over keys and values with
"foreach (k, v; table)" but that cannot be passed down to algorithms.
The range returned by byKeyValye() should allow modifying the value but not the
key.
-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list