|
Boost : |
From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-06-11 10:03:31
David Abrahams wrote:
> > Hmmm... You're removed the boost/iterator_adaptors.hpp file
> > intentionally, right? This makes it even more problematic, because,
> > there is no chance to circumvent compilation errors.
>
> There are going to be compilation errors anyway, since the
> interface is drastically different.
Sure, but I said, that without boost/iterator_adaptors.hpp there is no
way to circumvent them.
> > 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.
Fine, looking forward.
Regards Hartmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk