Summary: std.array is missing the remove functions from
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from Jonathan M Davis <> 2010-12-12 18:04:29 
PST ---
Containers in std.container implement a certain set of functions - including
various remove functions. std.array currently implements the various range
functions that arrays are supposed to have, but it does _not_ implement any of
the container functions. In particular, it lacks the various remove functions.
These functions should be added to std.array:

removeFront() (presumably just an alias for popFront())

removeBack()  (presumably just an alias for popBack())


removeAny() (presumably an alias for popFront())

I'm not sure if they can implement the stable versions or not, since I'm not
really sure what the docs mean when they're talking about iterators given that
D doesn't generally use them. I would have expected it to refer to ranges, but
since an array _is_ range that could get a bit funny... In any case, whatever
subset of the various remove functions would be appropriate for arrays should
be added to std.array.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to