Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-15 10:57:04


Pavol Droba <droba_at_[hidden]> writes:

> Now I see, that plain formulation "they provide strong exception guarantee"
> is enough. And that is exactly the point I wanted to get to.

I strongly believe that the language "if an exception is thrown there
are no effects" is better than talking about the strong guarantee,
because eventually you get into variations like these:

> "If an exception is thrown, there are no effects other than those
> of <user-supplied operation>"
>
> and
>
> "If an exception is thrown other than by <user-supplied operation>,
> there are no effects"

and the basic language used is the same.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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