$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2005-05-20 06:06:15
Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
> Currently 'iterator_adaptor' exposes its underlying iterator _object_
> (through 'base()'), but not its type, which stands in the way of a
> generic code manipilating adapted iterators/sequences, e.g.:
>
> template<
> typename Sequence
> >
> mtn::iterator_range< typename Sequence::iterator::base_type >
> // ^^^^^^^^^^^
> // currently unavailable
> base_view( Sequence& seq )
> {
> return mtn::make_iterator_range(
> seq.begin().base()
> , seq.end().base()
> );
> }
>
> Any objections if I add the typedef (and update the docs
> correspondingly)?
None.
-- Dave Abrahams Boost Consulting www.boost-consulting.com