Content deleted Content added
Stevebroshar (talk | contribs) |
Stevebroshar (talk | contribs) →C++11: Reply |
||
Line 150:
:To note: std::function objects make it possible to call : 1) a non member function 2) a static member function 3) a functional object 4) a lambda function 5) a non static member function (via std::bind). That is they can refer to any callable entity with compatible signature and are particularly useful to callback.[[User:Ptyxs|Ptyxs]] ([[User talk:Ptyxs|talk]]) 08:07, 4 August 2012 (UTC)
:I don't think the page should (or feasibly could) cover every syntax that supports callback. But, if you must, add an example for C++. [[User:Stevebroshar|Stevebroshar]] ([[User talk:Stevebroshar|talk]]) 13:53, 11 April 2024 (UTC)
== Should mention / link to the [[futures and promises]] article ==
|