Higher-Order Functions and Function_Ref
Offered By: ACCU Conference via YouTube
Course Description
Overview
Explore higher-order functions and function_ref in C++ through this comprehensive ACCU 2019 conference talk. Delve into practical examples of how higher-order functions can enhance code quality and developer productivity in production environments. Learn about the proposed function_ref abstraction for C++20, comparing it to other techniques for implementing higher-order functions. Discover how this lightweight wrapper for Callable objects can improve compiler optimization and inlining. Gain insights from Vittorio Romeo, a C++ enthusiast and active community member, as he covers topics such as lambda expressions, std::function, functional programming patterns, and their applications in modern C++ development. Understand the benefits of treating functions as first-class citizens and how these concepts can increase API flexibility and safety while reducing code repetition.
Syllabus
Introduction
YouTube channel
Open source projects
Outline
Disclaimer
Assumptions
Higherorder functions
Signal
lambda expressions
arrays remove
variant
use cases
avoid repetition
example
local lambda
execution policy
unit testing
abstraction
structure
for separated
print
consumeif
Synchronicity
Test drivers
Higherorder functions vs other obstructions
Threadsafe access wrapper
Synchronized instance
Implementation
Benchmarking
Iterators
Recap
Second half
Function pointers
Template parameters
City functions
Functionref
Why use functionref
Interface
Examples
Taught by
ACCU Conference
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera An introduction to Haskell Programming
Chennai Mathematical Institute via Swayam Kotlin Bootcamp for Programmers
Google via Udacity From Media Computation to Data Science
SAP Learning The Modern Python 3 Bootcamp
Udemy