Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Introducing Functional Programming in C++

via LinkedIn Learning

Overview

Write more functional code in C++. Learn functional programming with C++ functions, Lambda functions, templates, and the RxCpp Reactive Extensions library.

Syllabus

Introduction
  • Unleash the power functional programming in C++
  • What you should know
1. Overview
  • Benefits of functional programming
  • Unit testing functional programming
2. Functional Programming in Modern C++
  • Enabling C++ 17
  • transform instead of map
  • copy_if instead of filter
  • accumulate instead of reduce
  • bind
  • Functions
  • Lambda functions: Curry
  • Lambda functions: Closures
  • Challenge: Factorial continuous add
  • Solution: Factorial continuous add
3. Template Metaprogramming
  • C++ templates
  • Factorial
  • The Standard Template Library
  • Functional programming libraries
  • Boost.Hana
  • Challenge: Fibonacci generator
  • Solution: Fibonacci generator
4. Functional Reactive Programming
  • Intro to Reactive Extensions
  • RxCpp library
  • Challenge: Word frequency counter
  • Solution: Word frequency counter
Conclusion
  • Next steps

Taught by

Troy Miles

Reviews

4.6 rating at LinkedIn Learning based on 143 ratings

Start your review of Introducing Functional Programming in C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.