Month: October 2012
For another example posts on functors (function objects) see here. A functor is an instance of a C++ class that has the operator() defined. One big advantage of functors is …
Some code samples I have collated in the sample below, that demonstrate how boost::function can be assigned with functors, ordinary functions, class member functions and overloaded class member functions respectively. …
This post assumes that the boost libraries have been downloaded and extracted to the directory of your choice. See this previous posting for more details on how to download and …
This post takes a look at using boost::bind as a means of calling class member functions in an efficient and generic way. It basically summarizes what has already been said …
1. Install the Boost libraries from the command lineFirst try the following$ sudo apt-get install libboost*You may get an error message similar to the following, like I did: