
5 Feb
2011
5 Feb
'11
8:32 a.m.
On 2/5/11 6:03 AM, Alexander Nasonov wrote:
We came up with something like this: void BOOST_LOCAL_FUNCTION( BOOST_BIND((factor)(&sum)), double num ) { sum += factor *num; std::clog<< "Summed:"<< sum << std::endl; } BOOST_LOCAL_FUNCTION_DECL(add)
Joel de Guzman wrote :
That is nice!
+1 Best regards, Pierre Morcello