Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-06-11 14:56:02


Douglas Paul Gregor <gregod_at_[hidden]> writes:

> On Wed, 11 Jun 2003, David Abrahams wrote:
>> hartmutkaiser_at_[hidden] (Hartmut Kaiser) writes:
>> > What about re-introducing the boost/iterator_adaptors.hpp file:
>> >
>> > #define BOOST_ITERATOR_ADAPTOR_VERSION 0x2000
>> > #include <boost/iterator/iterator_adaptor.hpp>
>> >
>> > This would allow for some version tracking and a smooth migration path
>> > for those libraries, willing to support both, the new _and_ the old
>> > iterator libs. Thought's?
>>
>> OK, that seems reasonable. Libraries can check to see if
>> BOOST_ITERATOR_ADAPTOR_VERSION is defined and use different code in
>> that case.
>
> Can't we just use BOOST_VERSION? (1.31.0 will have the new iterator
> adaptors anyway)

I think the idea is to allow code to work with CVS versions between
1.30.0 and 1.31.0

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk