Opened 7 years ago

Closed 7 years ago

#11492 closed Bugs (obsolete)

boost.coroutine throws from noexcept function

Reported by: markus.grech@… Owned by: olli
Milestone: To Be Determined Component: coroutine
Version: Boost 1.58.0 Severity: Problem
Keywords: coroutine, noexcept, throw Cc:

Description

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.

Change History (1)

comment:1 by olli, 7 years ago

Resolution: obsolete
Status: newclosed

already fixed in branch master

Note: See TracTickets for help on using tickets.