$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Boost.Accumulators: how to use with objectdatamembers?
From: Joost Kraaijeveld (J.Kraaijeveld_at_[hidden])
Date: 2009-04-12 14:19:06
Hi,
Sorry about the last post: it works OK with a member function and bind:
std::for_each(data.begin(),
data.end(),
boost::bind<void>( boost::ref(acc), boost::bind<long>(&Data::getData,_1)) );
-- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl