|
Boost Users : |
From: Richard Webb (richard.webb_at_[hidden])
Date: 2008-02-18 05:06:01
Charles Brockman <cmbrockman <at> verizon.net> writes:
>
> std::vector<double> vect1(3); to boost::ptr_vector<double> vect1(3); and
> std::vector<double> vect2(3); to boost::ptr_vector<double> vect2(3);
>
> ...
>
> The line 267 (line 295 in the original version) referred to is:
> boost::zip_iterator< boost::tuples::tuple<
> std::vector<double>::const_iterator, std::vector<double>::const_iterator >
> > zip_it_begin( boost::make_tuple( vect1.begin(), vect2.begin() ) );
>
Sounds like you're mixing a ptr_vector with std::vector iterators.
I guess line 267 needs changing from vector<double>::const_iterator to
boost::ptr_vector<double>::const_iterator?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net