Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] accumulate with data member binding
From: Christian Henning (chhenning_at_[hidden])
Date: 2008-11-01 17:46:14


Thanks Steven. That worked.

On Fri, Oct 31, 2008 at 9:17 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Christian Henning wrote:
>>
>> bind( &point::_prob, arg1 )
>>
>
> std::accumulate takes a binary function object. Try:
>
> arg1 + bind(&point::_prob, arg2)
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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