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