I think that we'll probably need to add them in this case due to efficiency concerns, but it's not without cost. We don't want too many stray functions doing almost the same thing in Phobos.- Jonathan M Davis
Better to have them in phobos instead of every ones own little helper library.
And I would call in popFrontExactly, not popFrontNExactly. The latter is just hard to read and unnecessarily so.