On Wednesday, 29 April 2020 at 20:43:20 UTC, Casey wrote:
void popFront() { }
I mean, it might be you messed up in posting this, but having an empty popFront and expecting it to do something is a tad optimistic.
Apart from that, it seems like the code should do what you want it to. What's the value of count when the code asserts? I'm afeared we'll need some code that actually compiles and shows off the issue to give any more answers.
-- Simen