Re: slot from a reference pointer



On Wed, 2006-10-11 at 21:15 +0300, Paul Pogonyshev wrote:
> Hi,
> 
> Is there a standard way of getting a sigc++ slot from Glib::RefPtr to
> an object?  I know that I can `steal' the object using operator->(),
> but is there a standard way?

its a bad idea anyway. i wrote last month about the perils of using
boost::shared_ptr<T> in slots. it makes life quite complicated.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]