Oh, I thought the compiler could optimize calls to popFront if I'm not assigning its value.
Doesn't a technique exist where if a function is called and I'm not assigning its result anywhere it should simply exit the function without returning anything? It seems like a valuable compiler optimization, if that is even possible.