Boost logo

Boost Users :

Subject: Re: [Boost-users] multi_index in managed_shared_memory
From: Sebastien Nobert (sebastien.nobert_at_[hidden])
Date: 2013-12-10 22:41:28


Hi Joaquin,

    I was hoping that you would answer. The patch work. Thanks a lot. For
the other bug, forget it I was just missing the ordered_index.hpp include.

Thanks again,
Seb

On Tue, Dec 10, 2013 at 4:17 PM, JOAQUIN M. LOPEZ MUÑOZ <joaquin_at_[hidden]>wrote:

> 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
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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