Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
..
doc 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
example 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
meta 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
test 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
README.md 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
index.html 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前
test_results.svg 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 年 前

README.md

Boost PolyCollection library

Branch Travis AppVeyor Regression tests
develop Build Status Build Status Test Results
master Build Status Build Status Test Results

Boost.PolyCollection: fast containers of polymorphic objects.

Online docs
Seminal article at bannalia.blogspot.com

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.

Requirements

Boost.PolyCollection is a header-only library. C++11 support is required. The library has been verified to work with Visual Studio 2015, GCC 4.8 and Clang 3.3.