Boost logo

Boost Users :

Subject: Re: [Boost-users] bind with weak_ptr
From: Igor R (boost.lists_at_[hidden])
Date: 2011-10-10 14:30:18

> I believe it's just not too generic. Note that it "does nothing" and
> returns a default-constructed result type, when the weak_ptr expires.
> It may be appropriate for your specific case, but it's definitely not generic.

...but it could be made better and more consistent with weak_ptr
behavior, if instead of "doing nothing" it would throw

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at