Hi!
 
there is  currently a bug in boost::lambda documentation (http://www.boost.org/doc/html/lambda/s03.html).

Current version:

template <class T> : public binary_function<T, T, T>
struct plus {
  T operator()(const T& i, const T& j) const {
    return i + j;
  }
};
should be:
template <class T>
struct plus : public binary_function<T, T, T>
{
  T operator()(const T& i, const T& j) const {
    return i + j; 
  }
};
 
 
With Kind Regards,
Ovanes