Also imagine you want to write an algorithm that iterates backwards, you must choose which set of primitives to use: back+empty+popBack or front+frontUndoEmpty+undoPopFront, and an undoable bidirectional range will support both.

Reply via email to