|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-11-20 17:28:58
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
-- 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