Proposal: takeFront and takeBack

Tobias Pankrath tobias at pankrath.net
Wed Jul 4 01:18:09 PDT 2012


On Wednesday, 4 July 2012 at 08:13:10 UTC, Mehrdad wrote:
> What's wrong with moveFront()?

+ it's used in std.container, too.

- in std.container the length  of the container is invariant 
under moveFront,
with the proposal here this would not be the case. So it's 
similar but inconsistent.




More information about the Digitalmars-d mailing list