From the course: Introducing Functional Programming in C++

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Functional programming libraries

Functional programming libraries - C++ Tutorial

From the course: Introducing Functional Programming in C++

Start my 1-month free trial

Functional programming libraries

- [Instructor] Loki is one of the oldest C++ metaprogramming libraries around. It was created by Andrei Alexandrescu for his book Modern C++ Design. Unfortunately, it has not had a new release since 2009. The Boost.MPL library is a header only C++ O3 base general purpose template metaprogramming framework of compile time algorithms, sequences, and metafunctions. Boost.Fusion is a library for working with heterogeneous collections of data, commonly referred to as tuples. Boost.Hana calls itself your standard library for metaprogramming. It is header only and provides a super set of the features in Boost.MPL and Fusion. Boost.HigherOrderFunctions is a recent addition to the Boost family. Like Hana, it is a header only C++ 11 and 14 library that provides utility functions and function objects which can solve many problems with much simpler constructs than what's traditionally been available in metaprogramming. Keep in mind that there are a lot more libraries than the five mentioned here.

Contents