Should this work?

Kira Backes kira.backes at nrwsoft.de
Fri Jan 10 09:01:01 PST 2014


On Friday, 10 January 2014 at 16:28:58 UTC, Andrei Alexandrescu 
wrote:
> On 1/10/14 6:02 AM, Manu wrote:
>> What's the go with popFront()... it returns nothing?
>> I almost always want to pop and return the front element.
>
> http://dlang.org/phobos/std_range.html#.dropOne
>
> What do you want us to do, RTFM to you?


I think he wants to return the popped element and this function 
does not do it. So it may actually be a missing convenience 
function.


More information about the Digitalmars-d mailing list