Presentations from Joaquín Mª López Muñoz at using std::cpp 2017 and associated material.
-
An intro to Boost.PolyCollection (video in Spanish): Boost.PolyCollection was released as part of Boost 1.65 in August 2017. This library implements a novel data structure for polymorphic objects that packs elements of the same concrete type together, which increases performance dramatically. Added speed can be squeezed out by using dedicated algorithms with type restitution capabilities. Dynamic polymorphism in current C++ goes beyond classic OOP, and Boost.PolyCollection provides containers for three polymorphism models:
boost::base_collectionfor OOPboost::function_collectionfor callable entities in the spirit ofstd::functionboost::any_collectionfor duck typing as implemented by Boost.TypeErasure.
-
C++17 vocabulary types (video in Spanish): Vocabulary types are the basic building blocks of any program and also serve as an effective tool for communicating the program intent when others read the code. C++17 features four new vocabulary types:
std::string_viewstd::anystd::optionalstd::variant
We briefly describe these types and use some of them in an example that shows their power when combined together.