
2 Nov
2005
2 Nov
'05
7:28 p.m.
On 11/1/05, Jason Hise <chaos@ezequal.com> wrote:
template < typename ReturnType [, ...] > future < ReturnType > enqueue( ReturnType (Type::*func) ( [...] ) [, ...] );
I'd personally prefer using the member function pointer as an explicit template argument, allowing for the calling syntax: enqueue< &your_type::member_function >( your, arguments, go, here ); Again, with proper forms having different amounts of parameters generated by Boost.Preprocessor. -- -Matt Calabrese