Opened 7 years ago
Closed 7 years ago
#11492 closed Bugs (obsolete)
boost.coroutine throws from noexcept function
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
already fixed in branch master