We are still using boost 1.27. We are getting to the point that there are features of the latest boost release that we want to use. Of course there are barriers. One barrier is iterator_adaptor. Iterator_adapter went through a significant rewrite. We have several (>10) iterators written using the older implementation. We are trying to gauge the impact of changing to the latest boost. Do we need to largely rewrite these iterators? Is the interface close enough for this to be a reasonably simple task? Simply how do we get our old iterators to the new adaptor? Thanks for the help, ...Duane
Naturally just after sending this I found the reference
We are still using boost 1.27. We are getting to the point that there are features of the latest boost release that we want to use. Of course there are barriers.
One barrier is iterator_adaptor. Iterator_adapter went through a significant rewrite. We have several (>10) iterators written using the older implementation.
We are trying to gauge the impact of changing to the latest boost. Do we need to largely rewrite these iterators? Is the interface close enough for this to be a reasonably simple task? Simply how do we get our old iterators to the new adaptor?
Can anyone give me some idea of how much work it took them to convert to the facade style iterators from an existing old style iterator_adaptor?
I think the first conversion took me an hour or two, but the rest were more like 10 minutes each. The newer interfaces are _much_ better, and your code will be cleaner and easier to maintain in the end. Doug
participants (2)
-
Doug Gregor
-
Duane Murphy