File has been sent.
For everyone's reference: This code will reproduce it for me
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
class DragInfo {
void Test() {
boost::function <void(boost::shared_ptr<int>)> func =
boost::bind(&DragInfo::GotRuntimeSubimage, this);
}
private:
void GotRuntimeSubimage(boost::shared_ptr<int> spImg);
};
(Boost version 1.40)
For everyone's reference: This code will reproduce it for me
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
class DragInfo {
void Test() {
boost::function <void(boost::shared_ptr<int>)> func =
boost::bind(&DragInfo::GotRuntimeSubimage, this);
}
private:
void GotRuntimeSubimage(boost::shared_ptr<int> spImg);
};
(Boost version 1.40)