$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-11-06 09:08:54
This simple test illustrates the problem:
#include <boost/iterator/permutation_iterator.hpp>
#include <vector>
#include <boost/range.hpp>
template<typename in_t>
void F (in_t const& in) {
typename boost::range_const_iterator<in_t>::type inp = boost::begin (in);
}
int main () {
std::vector<int> x, y;
F (boost::make_permutation_iterator (boost::begin (x), boost::begin (y)));
}
/usr/local/src/boost.hg/boost/range/const_iterator.hpp:37: error: no type
named
const_iterator in class
boost::permutation_iterator<__gnu_cxx::__normal_iterator<int*,
std::vector<int, std::allocator<int> > >,
__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >
>