$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-09 17:40:19
From: "Mac Murrett" <mmurrett_at_[hidden]>
> This won't solve the problem of:
>
> struct C
> {
> foo();
> };
>
> vector<shared_ptr<C> > v;
> ...
> for_each(v.begin(), v.end(), mem_fun(&C::foo));
>
> ... or am I missing something?
Perhaps the fact that boost::mem_fun already works with boost::shared_ptr?
-Dave