Top "Boost-function" questions

A Boost C++ library that provide a family of class templates that are function object wrappers, similar to generalized callbacks.

How to use boost bind with a member function

The following code causes cl.exe to crash (MS VS2005). I am trying to use boost bind to create a …

c++ boost boost-bind boost-function
how boost::function and boost::bind work

I dislike having magic boxes scattered all over my code...how exactly do these two classes work to allow basically …

c++ boost boost-bind boost-function
"<class name> does not provide a call operator" error when trying to wrap function return value

I'm trying to write a function that will take a functor as an argument, invoke the functor and then return …

c++ templates boost boost-function
Pass and call a member function (boost::bind / boost::function?)

I have a probably embarassingly simple problem: pass and call a member function in a class. I know I want …

c++ boost-bind boost-function
Default value for boost::function argument?

I've got a function that I want to take an optional boost::function argument as a callback for reporting an …

function boost default arguments boost-function
Performance of std::function compared to raw function pointer and void* this?

Library code: class Resource { public: typedef void (*func_sig)(int, char, double, void*); //Registration registerCallback(void* app_obj, func_sig …

c++ c++11 boost-function std-function
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
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
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