Boost logo

Boost Users :

Subject: Re: [Boost-users] [intrusive] unordered_set::iterator_to
From: Paul Rose (paul.d.rose_at_[hidden])
Date: 2011-02-12 11:02:48


Hi,

I just confirmed that I get the same compile error with 1_45_0 using gcc
4.2.1 (Macintosh XCode 3.2.2).

Original error was with gcc 4.3.x on SuSE linux 11

Thanks,
Paul Rose

On Thu, Feb 10, 2011 at 12:58 PM, Paul Rose <paul.d.rose_at_[hidden]> wrote:

> Hi,
>
> I'm getting compile errors trying to use iterator_to() on an unordered_set
> when given a const reference (and returning a const_iterator).
>
> It works fine for me with ordered set.
>
> I am able to reproduce this error by adding the following two lines:
>
> MyClass const &cr = values[0];
> base_set.iterator_to(cr);
>
> to the bottom of the Example code (just before the return 0 from main) for
> unordered_set
>



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