Boost logo

Boost :

Subject: Re: [boost] [function] function wrapping with no exceptionsafetyguarantee
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-10-12 19:22:54


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.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk