8 Oct
2010
8 Oct
'10
7:23 p.m.
On 10/8/2010 8:58 AM, Adrien Todeschini wrote:
How can I define this tagged argument when initializing the accumulator_set ? ( Indeed, weighted_sum_impl constructor is called at this point )
Thanks in advance for your help.
It should be as simple as using the "sample" keyword in the boost::accumulators namespace, like: using namespace boost::accumulators; accumulator_set< int, featurestag::weighted_sum > acc( sample = 42 ) HTH, -- Eric Niebler BoostPro Computing http://www.boostpro.com