popFrontExactly?

Tobias Pankrath lists at pankrath.net
Fri Nov 23 01:19:21 PST 2012


> 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.


More information about the Digitalmars-d mailing list