Subject: Re: [boost] Weak functor: Interested? (How to boost::bind to a weak_ptr)
From: Vladimír Tøebický (vladimir.trebicky_at_[hidden])
Date: 2012-01-11 05:21:08
On Wed, Jan 11, 2012 at 10:54 AM, Roman Perepelitsa
> 2012/1/11 VladimÃr TÅebickÃ½ <vladimir.trebicky_at_[hidden]>
>> On Wed, Jan 11, 2012 at 10:38 AM, Roman Perepelitsa
>> <roman.perepelitsa_at_[hidden]> wrote:
>> > In practice, however, I only ever used void-returning functors with
>> > weak_ptr.
>> Agreed, me to. But typically I need the callbacks to either silently
>> do nothing or throw.
>> Anyway, the question is whether such a tool may find place in Boost
>> for people looking for this kind of behavior, wdyt?
> I'd support this. I've been using this code for about 6 years and found it
> very useful. There were several requests for this functionality on boost
> mailing lists, so I'm not along. As far as I know, this change has never
> been proposed.
I see, even though I more asked about my weak_fn ;-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk