Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-03-08 22:46:09


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

[snip]

>
> Hello Felipe,

Hello Joaquin,

>
> In this case the problem is with the expression
>
> c.equal_range("lala")
>
> which should be
>
> index.equal_range("lala")

I see.

> The corrected version I'm sending you attached works fine here
> (GCC 3.2). The fact that your version compiled fine in VC 7.1 is
> a side effect of workarounds related to the defect signalled by the
> macro BOOST_NO_MEMBER_TEMPLATE_FRIENDS (see
> docs of Boost.Config on this macro.)

Wroked here too now.

>
> I'm afraid this is not related to your original problem,
> so I stay tuned for further feedback from you.

I found a workaround.
Creating a local pair of the iterators and then passing it to the
constructor makes the gcc 3.4.4 accept it.
I think it is enough to me.

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

Thanks for all your time on this issue.

--
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