Should this work?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jan 10 09:32:47 PST 2014


On 1/10/14 9:01 AM, Kira Backes wrote:
> 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.

Oh, I misunderstood. Anyhow, just wanted to convey some tough love to 
him :o).

Andrei



More information about the Digitalmars-d mailing list