Markus Schöpflin | 21 May 15:12
Picon
Favicon

Re: [thread] test_lock* and test_move* failures on trunk

Peter Dimov wrote:

> Try
> 
>     template <class T, class R, class A1>
>         thread(R (T::*f)(),A1 a1):
> 
> without the P1. This would only work for no-argument non-const member 
> functions though. More overloads are needed to cover all cases. I'll think 
> about fixing that somehow on the bind side. A more systematic thread::thread 
> test that covers all possibilities would be nice to have. 

In the mean while I already tried

         template <class T,class A1>
             thread(void (T::*f)(),A1 a1):

which worked, so I think your suggestion will work too.

Markus

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane