Subject: [Boost-bugs] [Boost C++ Libraries] #4720: [function][patch] function wrapper with no exception safety guarantee
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-07 19:11:55
#4720: [function][patch] function wrapper with no exception safety guarantee
------------------------------+---------------------------------------------
Reporter: djwalker | Owner: dgregor
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: function
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
boost::function provides a strong exception safety guarantee. However, in
certain circumstances, such as some embedded systems, no exception safety
guarantee is desirable. I request that function object wrappers with no
exception safety guarantee be added to the Boost.Function family. The
attached patch implements boost::unsafe_function (with both preferred
syntax and portable syntax), which has no exception safety guarantee when
invoked with no target and has no dependency on boost::throw_exception.
The patch includes tests and documentation updates. It addresses the same
issue identified in #4646.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4720> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC