Boost:Bind
lastmod 2026-11-10created 2022-01-133 edits
Boost.Bind is a C++ library that creates new callable objects by fixing some arguments of a function or member function in advance or by reordering them. Placeholders such as _1 and _2 mark the arguments to be passed later, and it was widely used to bind a member function to an object and pass it as a callback. The same functionality entered C++11 as std::bind, and today it is often replaced by lambdas.