Top "Boost-bind" questions

boost::bind is a generalization of the standard C++ functions std::bind1st and std::bind2nd.

Class member function as callback using boost::bind and boost::function

I'm working through setting up a member function as a callback for a C-library that I'm using. The C-library sets …

c++ boost boost-bind boost-function
How does boost bind work behind the scenes in general?

Without spending a long time reviewing the boost source code, could someone give me a quick rundown of how boost …

c++ boost boost-bind
Getting return value from a boost::threaded member function?

I have a worker class like the one below: class Worker{ public: int Do(){ int ret = 100; // do stuff return ret; } } …

c++ boost boost-thread boost-bind boost-function
How do you declare an extern "C" function pointer

So I have this code: #include "boost_bind.h" #include <math.h> #include <vector> #include <…

c++ function-pointers boost-bind
Multithreading using the boost library

Wish to simultaneously call a function multiple times. I wish to use threads to call a function which will utilize …

c++ multithreading boost-thread boost-bind
Passing function pointer arguments with boost

Can the following function pointer passing be simplified/improved with the use of boost::function and/or boost::bind? void …

c++ boost boost-bind boost-function
What is the return type of boost::bind?

I want to save the "binder" of a function to a variable, to use it repetitively in the following code …

c++ types boost-bind
Can I use (boost) bind with a function template?

Is it possible to bind arguments to a function template with (boost) bind? // Define a template function (just a silly …

c++ boost boost-bind function-templates
boost bind compilation error

class A { bool OutofRange(string& a, string& b, string c); void Get(vector <string>& str, …

c++ boost boost-bind erase-remove-idiom
boost::bind with null function pointers

If the function pointer embedded in a boost::bind return object is NULL/nullptr/0, I need to take action other …

c++ boost function-pointers bind boost-bind