Boost logo

Boost Users :

From: Agoston Bejo (gusz1_at_[hidden])
Date: 2004-12-05 18:45:39


Hi!
Let's consider this function object:

template<typename TLeft, typename TRight>
struct mixed_plus :
 public binary_function<TLeft, TRight, TLeft>
{
 result_type operator()
  (first_argument_type left, second_argument_type right)
 const
 {
  return left + right;
 }
};


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net