15 Apr
2009
15 Apr
'09
6:41 a.m.
2009/4/15 Robert Ramey
I would like to compose two function objects into one. Bind describse this using || or && but my function objects return void. How can i package them into a new one that invokes both the components.
Robert Ramey
For a long time Boost.Bind didn't overload any operators. Later, overloads for logic operators were added because they are needed so ofter, but there were no plans to support all operators. Use Boost.Lambda or Boost.Phoenix. Both these libraries support operator, for grouping function objects. Roman Perepelitsa.