Shout out to D at cppcon, when talkign about ranges.

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 9 01:03:50 PDT 2015


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.


More information about the Digitalmars-d mailing list