
2 Nov
2007
2 Nov
'07
8:47 a.m.
Marco wrote:
A new release of boost overload is out.
[...]
You can read more about boost overload here: http://docs.google.com/Doc?id=dhd386mp_16gxsfxn The documentation was kindly written down by Dean Michael Berris.
Looks interesting. Just one naive question... If a overload variable can be set any function, why bother giving it a signature when declaring it? Why not just: overload<> f; // or simply boost::overload f; f.set(&int_sum); // here automatic signature f.set(&float_inc); // deduction occurs f.set(&any_function);