Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-05-19 23:57:35

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.:

          typename Sequence
    mtn::iterator_range< typename Sequence::iterator::base_type >
                                                // ^^^^^^^^^^^
                                                // currently unavailable
    base_view( Sequence& seq )
        return mtn::make_iterator_range(
            , seq.end().base()

Any objections if I add the typedef (and update the docs

Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at, gregod at, cpdaniel at, john at