
8 Oct
2009
8 Oct
'09
3:35 p.m.
On 08.10.2009, at 17:27, er wrote:
alfC wrote:
Does Boost have a generalization of std::plus and std::multiplies (std_function.hpp)?
How about the boost::lambda arithmetic operators, possibly in combination with ll_static_cast<Tp>, and -if necessary- put the result in the functor wrapper boost::function
?
You probably already know this but in my (non authoritative) opinion, this is as close a generalization as can be.
I had such a class in our libraries, but threw it out and replaced it with lambda expressions Matthias