
30 Apr
2009
30 Apr
'09
6:26 p.m.
Artyom
Hi,
Is there any way to set default argument values with Boost::Function? On VS2008 SP1 I tried:
boost::function< void( unsigned i = 1 ) > increment;
I do not think you can do it, but you can bind the value when you create the instance. Gennadiy