|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-07-13 06:41:08
Hi guys,
I'm forwarding this from the users list. It may easily get unnoticed
there, the more so considering it has a very generic subject.
---------------------------------------------------------
On Tue, 11 Jul 2006 22:40:34 +0200, "Ovanes Markarian"
<om_boost_at_[hidden]> wrote:
>Hi!
>
>there is currently a bug in boost::lambda documentation (
><http://www.boost.org/doc/html/lambda/s03.html>
>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
-- [ Gennaro Prota, C++ developer for hire ] [ resume: available on request ]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk