Boost logo

Boost :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-09-09 01:12:39

> > "Neal D. Becker" <ndbecker2_at_[hidden]> writes:
> Actually, I'm having trouble tracing this.  AFAICT, in vector.hpp
>     // Array based vector class
>     template<class T, class A>
>     class vector:
> ...
>         typedef typename A::const_iterator const_iterator_type;
>         typedef typename A::iterator iterator_type;

You missed out that iterator_type a private (at least in CVS!). Later you will
see some thing like:
        class const_iterator:
            public container_const_reference<vector>,
                                               const_iterator, value_type> {

Which does the work. The documentation is correct. Here const_iterator is a
uBLAS Indexed Random Access Iterator concept which SHOULD (indirectly) supply


Michael Stevens Systems Engineering
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
Navigation Systems, Estimation  and
                 Bayesian Filtering

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