
The documentation gives examples for int operator()(int a, int b)... bool operator()(long a, long b)... that use _1 to represent the first parameter (i.e., 'a'). I'm trying to pass a function object that takes no parameters to a boost::thread constructor and cannot get it right. <my_code> class Foo { void operator()() { /* do something */ return; } } int main( int argc, char **argv ) { Foo f; boost::thread doit( boost:bind<void>(f,_1)() ); doit.join(); return 0; }</my_code> Isn't the '_1' required for the this pointer? If it's not required, what is the correct form? Thanks in advance for any help. Regards, Dick Bridges "Multithreading is just one damn thing after, before, or simultaneous with another." Scott Meyers and Andrei Alexandrescu