Boost logo

Boost :

From: Ivica B (ibogosavljevic_at_[hidden])
Date: 2021-04-11 16:34:41


Yes, I guess it is very similar (if not the same) to polly_collection, or
more specifically to: boost::any_collection.

Is there a data structure that is similar to polly_collection but can be
sorted?

On Fri, Apr 9, 2021 at 2:47 PM Ivica B via Boost <boost_at_[hidden]>
wrote:

> multivector<rectangle, circle, triangle> mvect;
> Each type is held in a separate std::vector for that type. So in the above
> case, multivector<rectangle, circle, triangle> consists of three
> std::vectors: std::vector<rectangle>, std::vector<circle> and
> std::vector<triangle>.
>

Sounds a bit like
https://www.boost.org/doc/libs/1_75_0/doc/html/poly_collection.html no? --DD


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