$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (gregod_at_[hidden])
Date: 2000-11-27 16:21:45
On Mon, 27 Nov 2000 13:57:44 -0700
"Greg Colvin" <gcolvin_at_[hidden]> wrote:
> I've not been following this closely, but Kevlin and I are working on
> and operator() for shared_ptr, which would make it easy to add reference
> counting to a cloning implementation.
>
This would remove the ugliness of calling a callback wrapped in a shared_ptr, though assigning the callback would still require extra work:
shared_pointer< callback<int, int> > cb = new make_callback(some_func);
Doug Gregor