18 Feb
2008
18 Feb
'08
10:20 a.m.
Charles Brockman skrev:
Is it possible to use Boost ptr_containers with Boost zip iterators?
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() ) );
Is it the void pointer in the ptr_vector which causes the problem?
Can this marriage be saved?
Perhaps. Try to replace std::vector<double> with boost::ptr_vector<double> in your tuple type. -Thorsten