|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2004-11-12 14:34:21
>>
>>1. std containers being ranges as defined in boost.range
>>2. a new concepts that refine the concepts of boost.range by adding iteration
>>capabilities.
>>
>>I believe (2) is exactly what John is doing.
>>
>>-Thorsten
>
>
> It's a mistake to think of John's range as being a refinement of the
> boost.range concept. If I have a non-const range and I pass it off to
> an algorithm that traverses it, will the range be modified or not?
Note: the range will *not* change (in case you pass it to a rng::
algorithm).
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