Sebastien Nobert <sebastien.nobert <at> gmail.com> writes:

 

>

> Hi All,

>     I'm trying to build a

> multi_index in managed shared memory with two (or more) hashed index but

>  I get an "is an amiguous base of" error. I've already done that with

> one hash_uniq and a sequenced index and everything work fine.

> With two hashed index i get.

> boost/interprocess/detail/mpl.hpp:74:55: error:

> ‘boost::multi_index::detail::hashed_index_node_impl<... >’ is

> an ambiguous base of

> ‘boost::multi_index::detail::hashed_index_node<...>’

> static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t);

 

This is indeed a bug. Good news is the bug’s been (unintentionally) fixed

in Boost 1.56. In the mean time, could you please try the attached patch

on hashed_index.hpp and report back if the problem’s gone?

 

>

> With a hashed and an ordered index i get.

> boost/multi_index_container.hpp:161:52: error: no type named

> ‘final_allocator_type’ in ‘boost::multi_index::multi_index_container< ...

 

I can’t reproduce that one. Could you please elaborate or provide a concrete

test case?

 

> Should I open a bug report ? Am I doing something wrong ?

 

Please do. I don’t think you’re doing anything wrong, but I can’t locate

your second failure.

 

Thank you,

 

Joaquín M López Muñoz

Telefónica Digital




Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx