Boost logo

Boost Users :

Subject: Re: [Boost-users] [Signals] trackable detection for user defined callabcks
From: Igor R (boost.lists_at_[hidden])
Date: 2011-10-28 09:50:41


> "Warning: User-defined function objects and function objects from
> other libraries
> (e.g., Boost.Function or Boost.Lambda) do not implement the required interfaces
> for trackable object detection, and will silently ignore any bound
> trackable objects.
> Future versions of the Boost libraries will address this limitation."
>
> My questions:
>
> 1) What is the required interface for user-defined callbacks?

Hehe it is:
http://www.boost.org/doc/libs/1_47_0/doc/html/boost/signals/trackable.html

> 2) Is it still true that it will be addressed in future versions of
> Boost.Function?

You've got now Signals2, which allows using weak_ptr for tracking purposes.


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