Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-03-07 12:34:44


On 3/6/06, Joaquín Mª López Muñoz <joaquin_at_[hidden]> wrote:

[snip]

> >
> > typedef std::pair<iterator, iterator> iterator_pair;
>
> Here. What is this "iterator" type? What index.equal_range(name)
> returns is a

typedef headers_multi_index_t::nth_index<1>::type::iterator iterator;

>
> std::pair<
> headers_multi_index_t::nth_index<1>::type::iterator,
> headers_multi_index_t::nth_index<1>::type::iterator
> >

Well, looks like it s right then...

>
> where the iterators are not the same type as
> headers_multi_index_t::iterator; this is explained with more parsimony at

Yes, I thought so... But looks like I'm using it right...
It compiles cleanly in VC7.1 and gcc 4.1

>
> http://boost-consulting.com/boost/libs/multi_index/doc/tutorial/basics.html#iterator_access
>
> Could this be related to the problem, or am I completely misguided?
> If the latter, a complete testcase reproducing the problem would be of
> much help.

Looks like that's not the problem

>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo

--
Felipe Magno de Almeida

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk