Boost logo

Boost :

Subject: Re: [boost] Interest in a container which can hold multiple data types?
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2015-05-06 11:36:33


Vicente J. Botet Escriba <vicente.botet <at> wanadoo.fr> writes:

>
> Le 06/05/15 16:41, Boris Rasin a écrit :
> >
> > So traversing such "unordered" het_collection is indeed faster. Thanks
> > for the data. The question is how useful such container would be in
> > real life if it only supported "unordered" traversal, i.e. did not
> > satisfy requirements of "sequence container"? As I suggested
> > previously, one could add additional internal index container to keep
> > track of linear element arrangement, allowing both linear traversal
> > and fast "unordered" traversal when desired. Does this make any sense?
> >
> >
> I suspect this is the role of Boost.MultiIndex :)
>

Boost.MultiIndex is not powerful enough to support this:
multi_index_conta•É́…É”¹½‘”µ‰…Í•‰ä‘•Í¥¸°Í¼Ñ¡•É”Ì¹¼Ý…äÝ”)…¸¡…Ù”Ù…±Õ•ÌÍѽɕ½¹Ñ¥Õ½Í±ä€¡Õ¹±•Í́٥„…¸¥¹‘¥É•Ñ¥½¸°Ý¡¥ )ÉÕ¥¹Ì…¡¥¹œ¤¸())½…Å×µ¸43ÍÁ•è5׎è)Q•±•›͹¥„


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk