Partial Function Application Using Std::bind(...) in C++11 onwards

Опубликовано: 21 Сентябрь 2018
на канале: Cognitive Programmer
4,490
123

👉 Channel Name changed because of Rebranding Exercise. Existing Social media handles and links are no longer valid.

std::bind(...) is used in partial function applications and its one of the most amazing functionality provided by C++11 onwards. This also enables currying which is a part of the functional programming paradigm.

Partial function applications allow functions to be called with mandatorily providing all the parameters at one go. This is extremely useful in mathematical and scientific calculations as well as managing data in Multithreaded applications.

std::bind(...) allows calling a function with limited sets of parameters by applying placeholders for missing parameters.

This video describes in details about how we can use std::bind(...) function for making partial function calls and how we can make effective use of the same

Hope it helps you in learning something new.. enjoy!

#cplusplusprogramming #cplusplus #functionalprogramming #partialfunction #thread #multithreaded #code #coding #programming #linux #ubuntu #redhat