joaquintides 4597538eb5 Feature/update ci (#22)
* added Drone and GHA CI support

* given drone.sh execution permissions

* relaunched CI after Drone setup

* relaunched CI

* split jobs to avoid timeouts

* worked around too big obj files

* [skip ci] updated README.md

* [skip ci] fixed links
2024-10-13 12:55:03 +02:00
2024-10-13 12:55:03 +02:00
2024-10-13 12:55:03 +02:00
2021-02-08 09:26:39 +01:00
2024-08-05 08:26:14 -05:00
2021-01-12 19:16:12 +01:00
2024-10-13 12:55:03 +02:00
2024-10-13 12:55:03 +02:00
2017-06-01 08:39:19 +02:00
2021-05-28 01:46:19 +03:00
2017-06-05 23:48:45 +02:00
2024-10-13 12:55:03 +02:00

Boost PolyCollection library

Branch CI Drone status Build status Deps Documentation Enter the Matrix
Branch CI Drone status Build status Deps Documentation Enter the Matrix
BSL 1.0 C++11 required Header-only library

Boost.PolyCollection: 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 problems 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 performance. Three polymorphic collections are provided:

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 Boost.TypeErasure.

Learn about Boost.PolyCollection

Install Boost.PolyCollection

  • Download Boost and you're ready to go (this is a header-only library requiring no building).
  • Using Conan 2: In case you don't have it yet, add an entry for Boost in your conanfile.txt (the example requires at least Boost 1.86):
[requires]
boost/[>=1.86.0]
    If you're not using any compiled Boost library, the following will skip building altogether:
[options]
boost:header_only=True
  • Using vcpkg: Execute the command
vcpkg install boost-poly-collection

Support

Contribute

S
Description
No description provided
Readme 3.8 MiB
Languages
C++ 99.3%
Shell 0.2%
CMake 0.2%
Batchfile 0.2%
HTML 0.1%