
On 3/8/06, Joaquín Mª López Muñoz <joaquin@tid.es> 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