[Boost-bugs] [Boost C++ Libraries] #11492: boost.coroutine throws from noexcept function

Subject: [Boost-bugs] [Boost C++ Libraries] #11492: boost.coroutine throws from noexcept function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-21 14:53:28


#11492: boost.coroutine throws from noexcept function
----------------------------------------+-----------------------
 Reporter: markus.grech@… | Owner: olli
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: coroutine
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: coroutine, noexcept, throw |
----------------------------------------+-----------------------
 boost/coroutine/detail/symmetric_coroutine_impl.hpp(409): warning C4297:
 'boost::coroutines::detail::symmetric_coroutine_impl<void>::yield':
 function assumed not to throw an exception but does

 boost/coroutine/detail/symmetric_coroutine_impl.hpp(409): note:
 __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on
 the function

 I think yield was incorrectly marked as noexcept here.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11492>
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