
21 May
2008
21 May
'08
12:54 p.m.
Anthony Williams wrote:
Could you try adding the following overload of the thread constructor to boost/thread/pthread/thread.hpp
template <class T,class R,class P1,class A1> thread(R (T::*f)(P1),A1 a1): thread_info(make_thread_info(boost::bind<void>(boost::mem_fn(f),a1))) { start_thread(); }
If that makes the problem go away, I'll commit the change.
I tried, but the compiler prefers the other constructor when resolving the overload, so the error persists. Markus