Proposal: takeFront and takeBack

Mehrdad wfunction at hotmail.com
Wed Jul 4 01:25:18 PDT 2012


On Wednesday, 4 July 2012 at 08:13:20 UTC, Tobias Pankrath wrote:
> The name must imply that the range will be changed, i.e. after 
> the call the value is not part of the range anymore.
>
> consume does this, fetch does this, too. read does not




Where have you last ever seen a read() method whose default 
behavior was NOT to modify the 
collection/range/iterator/stream/whatever?


More information about the Digitalmars-d mailing list