Boost logo

Boost :

Subject: [boost] Review Request: poly_collection
From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2017-03-01 08:32:00


I'd like to ask for formal review of (candidate) Boost.PolyCollection, a
library providing
fast containers of polymorphic objects:

Typically, polymorphic objects cannot be stored directly in regular
containers and need
be accessed through an indirection pointer, which introduces performance
related to CPU caching and branch prediction. Boost.PolyCollection
implements a novel
data structure that is able to contiguously store polymorphic objects
without such
indirection, thus providing a value-semantics user interface and better
Three polymorphic collections are provided:

* boost::base_collection
* boost::function_collection
* boost::any_collection

dealing respectively with classic base/derived or OOP polymorphism, function
wrapping in the spirit of std::function and so-called duck typing as
implemented by

The library compiles and runs succesfully in Visual Studio 2015, GCC
5.2.1 and
Clang 3.7. Ion Gaztañaga has kindly volunteered to act as the review
manager for
(candidate) Boost.PolyCollection.

Best regards,

Joaquín M López Muñoz

Boost list run by bdawes at, gregod at, cpdaniel at, john at