Boost logo

Boost Users :

Subject: Re: [Boost-users] shared_ptr and signals
From: Mickael Wolff (mickael_at_[hidden])
Date: 2008-12-30 12:48:25


James C. Sutherland a écrit :
> mySignal.connect(a);

mySignal.connect(*a); // because connect copy the callback/functor.

   I guess you have to write a callable_shared_ptr or something. I
d'idn't find it in Boost.

-- 
Mickaël Wolff aka Lupus Michaelis
Racine <http://lupusmic.org>
Blog   <http://blog.lupusmic.org>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net