pop & popFront combined
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Sep 20 12:42:17 PDT 2014
On Saturday, 20 September 2014 at 19:23:46 UTC, Jakob Ovrum wrote:
> Sometimes after popping, the previous `front` is no longer
> valid, such as in the case of a buffer being reused. We should
> be careful about promoting using a previously read `front`
> after `popFront` until we figure out what we want to do about
> these "transient ranges".
>
> If you want move semantics, use `moveFront`.
Excellent! Thanks!
More information about the Digitalmars-d-learn
mailing list