std.range.interfaces : InputRange moveFront

Tony tonytdominguez at aol.com
Thu Nov 30 15:31:34 UTC 2017


On Thursday, 30 November 2017 at 09:50:37 UTC, Tony wrote:
> On Thursday, 30 November 2017 at 09:47:14 UTC, Tony wrote:
>
>> Thanks for the reply. Probably just missing it, but in poking 
>> around dlang.org (Language Reference and Library Reference) I 
>> am having trouble finding out about the move(), front() and 
>> moveFront() functions, as is used here on a dynamic array.
>
> That should just be front() and moveFront() used here. I ran 
> across move() in looking at the standard library for the 
> definitions of the other two.

Found a move() here:
https://dlang.org/library/std/algorithm/mutation/move.html
Function std.algorithm.mutation.move


More information about the Digitalmars-d-learn mailing list