pop & popFront combined

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 1 06:36:04 PDT 2014


On Saturday, 1 November 2014 at 13:25:03 UTC, Nordlöw wrote:
> On Saturday, 1 November 2014 at 13:22:34 UTC, Nordlöw wrote:
>> https://github.com/nordlow/justd/blob/master/range_ex.d#L14
>>
>> Please comment!
>
> What's the recommended way of making stealFront and stealBack 
> inout here? Can I somehow use auto ref together with inout?

I don't see what you'd need inout for here. stealFront/stealBack 
are not methods.


More information about the Digitalmars-d-learn mailing list