Skip to content

Presentations from Joaquín Mª López Muñoz at using std::cpp 2017 and associated material

Notifications You must be signed in to change notification settings

joaquintides/usingstdcpp2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

using std::cpp 2017

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_collection for OOP
    • boost::function_collection for callable entities in the spirit of std::function
    • boost::any_collection for 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_view
    • std::any
    • std::optional
    • std::variant

    We briefly describe these types and use some of them in an example that shows their power when combined together.

About

Presentations from Joaquín Mª López Muñoz at using std::cpp 2017 and associated material

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages