This example shows how to use std::bind to make us of a function that has more parameters than our signature has
| 36 | |
| 37 | // This example shows how to use std::bind to make us of a function that has more parameters than our signature has |
| 38 | void showHowToUseBind() |
| 39 | { |
| 40 | auto b = std::bind(functionWithMoreComplicatedSignature, 2, "parameters"); |
| 41 | taskTimer.initializeMs(taskInterval, b).start(); |
| 42 | } |
| 43 | |
| 44 | // This example shows how to use a lambda expression as a callback |
| 45 | void callLambda() |