Jump to content

C++ Language/Std/Stl/CallableObjects/BindingNewFunction

From Wikibooks, open books for an open world

One callable-object can be transformed into another (unnamed) callable-object by "binding" it using std::bind().

Additional information about binding a function (includes interactive examples)