Boost logo

Boost :

Subject: Re: [boost] [function] function wrapping with no exception safety guarantee
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-10-12 19:36:44

On Tuesday, October 12, 2010, Emil Dotchevski <emil_at_[hidden]> wrote:
> On Tue, Oct 12, 2010 at 4:04 PM, Daniel Walker
> <daniel.j.walker_at_[hidden]> wrote:
>> Formally, boost::function invocation has strong exception safety if
>> invoking the target function has strong exception safety.
> This makes no sense at all. Invoking boost::function always has strong
> exception safety guarantee. In no way it can make the state of the
> boost::function object inconsistent, because it does not modify its
> state.

Sounds like you're talking about the basic guarantee here.
> _____________________________________________

Dave Abrahams
BoostPro Computing

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