Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11132: Boost.Variant's boost::recursive_wrapper missing noexcept specifier on move constructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-21 19:28:18
#11132: Boost.Variant's boost::recursive_wrapper missing noexcept specifier on move
constructor
-------------------------------+---------------------
Reporter: peterhuene@⦠| Owner: ebf
Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Comment (by peterhuene@â¦):
Actually, upon more thought, there's no reason to use shared_ptr<T> here
at all.
{{{
boost::recursive_wrapper(boost::recursive_wrapper&& operand) noexcept
}}}
This simply needs to take ownership of operand's _p so that operand
doesn't delete it. No shared_ptr required (silly suggestion).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11132#comment:2> 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:18 UTC