Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-05-21 08:54:01


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk