$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [phoenix] accumulate with data member binding
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-31 21:17:00
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