11 Apr
2021
11 Apr
'21
4:34 p.m.
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@lists.boost.org> 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