Functional Programming Techniques in C++
This course dives into the intricacies of functional objects in C++, with a focus on functors, currying, and partial application. You'll learn how to harness these powerful concepts to create more modular, reusable, and maintainable code.
Lessons and practices
Transform Function into Curried Function
Update Logging Functions to Use Partial Application
Fix the Curried Multiplication Function
Calculate Total Cost with Partial Application
Currying with String Concatenation
Currying for Basic Arithmetic Operations
Server Configuration Using Currying
Curried Function for Calculating Cost
Add Timestamp to Curried LogMessage Function
Modify Functor to Filter Younger People
Create a Functor Class to Filter Numbers within Range
Divisibility Filter Using Functor
Create a Functor for Multiplying Elements in a Vector
Combining Filtering and Transformation Functors
Add Function to Print Original Salaries
Adjusting Product Prices with Functors
Apply Multiple Functors
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.