|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-11-21 22:22:03
Matthias Schabel <boost_at_[hidden]> writes:
>>> I used to have this code, which worked fine, now it seems broken...
>>>
>>> typedef
>>> boost::iterator_adaptor<pointer,boost::default_iterator_policies>
>>> iterator;
>>> typedef
>>> boost::iterator_adaptor<const_pointer,boost::
>>> default_iterator_policies>
>>> const_iterator;
>>> typedef typename boost::reverse_iterator_generator<iterator>::type
>>> reverse_iterator;
>>> typedef typename
>>> boost::reverse_iterator_generator<const_iterator>::type
>>> const_reverse_iterator;
>>>
>>> is there something going on with the iterator adaptors in the
>>> pre-release code base?
>>
>> Yes, bigtime:
>>
>> http://www.boost-consulting.com/boost/libs/iterator/doc/index.html
>
> The documentation is a bit...sparse...
Seriously? Did you follow the links to the standard proposals?
> Does this mean that the interface is still evolving?
I really, really hope not!
> I assume I can just plug back in the old iterator adaptor stuff
I don't know what you mean by that.
> and be on my merry way until things have shaken out? Or is there an
> easy way to accomplish the above with the new system?
What's "the above?"
-- 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