Double link list

Alex sascha.orlov at gmail.com
Sat Feb 24 12:01:54 UTC 2018


On Saturday, 24 February 2018 at 09:48:13 UTC, Joel wrote:
> I'm trying some code for practice, but it isn't working 
> properly - it prints just one number when printing in reverse.
>
> [...]

the first writeln destroys the range via popFront, I think. As if 
you comment it out, the writeln with retro works as expected.
This could be helpful:
https://forum.dlang.org/post/urgndzaiqblzdscnnbfc@forum.dlang.org


More information about the Digitalmars-d-learn mailing list