Boost logo

Boost :

Subject: Re: [boost] [function] function wrapping with no exception safety guarantee
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-10-07 20:06:11

On Thu, Oct 7, 2010 at 1:48 PM, Emil Dotchevski <emil_at_[hidden]> wrote:
> Another solution is to define a different constructor of
> boost::function which initializes it in a way that it doesn't throw,
> similar to the constructors I added some time ago to support
> allocators. So you could just say
> boost::function<void()>(foo,nothrow).

That 'feels' compile-time based, requiring a check, the first email is
indicating something where there is no check at all, all done at
compile-time, that is what I find most useful.

Boost list run by bdawes at, gregod at, cpdaniel at, john at