|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2004-11-16 12:37:08
>
> Why is it important to have an end but not to have a beginning?
>
Yup, you do have a point. Having an end is useful for traversing it from
begin to end. Thus, the range concept applies to all iterators.
It might be useful to think about having a beginning, for bidirectional
ranges. It certainly needs more thought.
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -- v1.5 - tooltips at your fingertips (work for menus too!) + bitmap buttons (work for MessageBox too!) + tab dialogs, hyper links, lite html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk