struct StrawmanRange(T) { ... void popFront() {} }
How do you deal with ranges where `.popFront` returns the old front element (`.front` requires copying the front element if the caller wants to store it, `.popFront` can move it)?
Moritz Maxeiner via Digitalmars-d-announce Sun, 23 Jul 2017 06:56:22 -0700
struct StrawmanRange(T) { ... void popFront() {} }
How do you deal with ranges where `.popFront` returns the old front element (`.front` requires copying the front element if the caller wants to store it, `.popFront` can move it)?