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

YouTube

Higher Order Functions for Ordinary C++ Developers

NDC Conferences via YouTube

Overview

Explore higher order functions in C++ through this comprehensive conference talk. Learn simple techniques for writing functions that accept or return other functions, elevating code abstraction and readability while reducing duplication. Discover how to maintain performance while implementing these advanced concepts. Examine practical examples using Compiler Explorer, including IP address handling, predicate composition, and state management. Investigate the benefits of higher order functions in arranging code, handling lambdas, and solving common programming challenges. Delve into function categories, boost libraries, and composition naming conventions. Gain valuable insights on improving C++ code quality and efficiency through the effective use of higher order functions.

Syllabus

Introduction
Examples
Compiler Explorer
Expand
IP address
IP interface
IP matress predicate
IP matress composition
IP interface composition
Insanity
Folds
SelectState
IfThen
Action
SetState
OptionalT
Lookup function
Lookup use case
Overloads
Address
Transform
clang
the problem
why bother
arrange your code
throw a lambda
read a lambda
to be solution
macro lift
compilation error
function categories
cons
boost
takeaway message
composition names
expected

Taught by

NDC Conferences

Reviews

Start your review of Higher Order Functions for Ordinary C++ Developers

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.