21 May 15:12
Re: [thread] test_lock* and test_move* failures on trunk
From: Markus Schöpflin <markus.schoepflin <at> comsoft.de>
Subject: Re: [thread] test_lock* and test_move* failures on trunk
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-21 13:12:26 GMT
Subject: Re: [thread] test_lock* and test_move* failures on trunk
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-21 13:12:26 GMT
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
RSS Feed