Category: Callbacks
Designing Callbacks in C++ – Part 1: Function Pointers
In this article we will discuss what is a callback and what types of callbacks we can have in C++ and how to Design Callbacks as function pointers. Now what is a callback? Advertisements Callback is a function that we pass to another APIs as argument while calling them. Now these APIs are expected to …
Designing Callbacks in C++ – Part 1: Function PointersRead More
C++11 Lambda Function : Example & Tutorial
In this article we will discuss, what is a C++11 Lambda Functions, how to use Lambda Functions as Callbacks. What is a Lambda Function? Lambda functions are a kind of anonymous functions in C++. These are mainly used as callbacks in C++. Lambda function is like a normal function i.e. Advertisements You can pass arguments to …