I'm running into some issues with boost::bind and creating threads.
Essentially, I would like to call a "scan" function on a "Scanner" object, using bind.
Something like this:
Scanner scanner;
int id_to_scan = 1;
boost::thread thr1(boost::bind(&scanner::scan));
However, I'm getting tripped up on syntax. How do I pass the data into scan? As part of the constructor?