$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: chun ping wang (cablepuff_at_[hidden])
Date: 2006-04-14 03:48:11
Heres a simple question, that i want to do.
Lets say you have a function call void f(double);
and then you want to apply f to each argument inside vector<double> a;
for_each(a.begin(), a.end(), f(_1));
// the example above isn't possible..is there a simple way to do this?