Boost logo

Boost :

Subject: Re: [boost] Interest in a container which can hold multiple data types?
From: Joaquín M Lopez Munoz (joaquin_at_[hidden])
Date: 2015-05-05 16:59:22


Boris Rasin <boris <at> pointx.org> writes:

>
> On 5/5/2015 7:49 PM, Joaquin M Lopez Munoz wrote:
> > I wrote something on this some time ago, maybe worth having a look at:
> >
> > http://bannalia.blogspot.com/2014/05/fast-polymorphic-collections.html
> > http://bannalia.blogspot.com/2014/05/fast-polymorphic-collections-with.html
> >
>
> Interesting read, thanks for the links. Although in this case we are
> talking about vector<variant> which stores data by value.

poly_collection does store data by value. Also, it is more
space-efficient than vector<variant>.

Joaquín M López Muñoz
Telefónica


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