]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Remove noexcept from std::generator::promise_type::yield_value
authorJonathan Wakely <jwakely@redhat.com>
Thu, 1 Feb 2024 21:15:20 +0000 (21:15 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 2 Feb 2024 10:18:04 +0000 (10:18 +0000)
commit91adf2182a245ede958f02df61a5bb184e9110ba
treee6638ef604aa226a0dd1012291f2cf2a098a0a53
parenta9e3818fdc3cfa8d51b7526c0f6b61b268cc4be5
libstdc++: Remove noexcept from std::generator::promise_type::yield_value

This overload of std::generator::promise_type::yield_value calls things
which might throw, so should not be noexcept. The noexcept was remove by
LWG 3894.

libstdc++-v3/ChangeLog:

* include/std/generator (promise_type::yield_value): Remove
noexcept from fourth overload, as per LWG 3894.
libstdc++-v3/include/std/generator