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
Sounds like you're talking about the basic guarantee here.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com