15 Aug
2009
15 Aug
'09
9:30 p.m.
On Sat, Aug 15, 2009 at 1:03 PM, alfC
Does Boost have the technology to define the equivalent of std::binary_function
eg something like boost::nary_function
Note that I am not interested in storing any function pointer, so using
boost::function
would be a waste. But I want to use the nice syntax "
" that boost::function uses, instead of " ". The objective is to inherit from this class
and instead of class op : std::binary_function
{ ... } to have class op: nary_function
{ ... } if possible.
The Boost.Function_Types (Function_Traits?) library lets you handle syntax like double(double, double) easily.