libstdc++: Make coroutine_handle<_Promise>::from_address() noexcept [PR 99021]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 9 Feb 2021 11:23:29 +0000 (11:23 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 9 Feb 2021 12:31:52 +0000 (12:31 +0000)
commit26a3f288f1895a8c061c0458590542a3d2ee796a
tree19269be7f6f470248b82e6e826c00b51cd9cea2d
parentadeaa43ad3bd8004c2521e1fb3bb0e08be33234b
libstdc++: Make coroutine_handle<_Promise>::from_address() noexcept [PR 99021]

The coroutine_handle<void>::from_address(void*) version is already
noexcept, and they do the same thing. Make them consistent.

libstdc++-v3/ChangeLog:

PR libstdc++/99021
* include/std/coroutine (coroutine_handle<P>::from_address): Add
noexcept.
libstdc++-v3/include/std/coroutine