]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/81017 add noexcept to std::function move operations
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Sep 2017 17:08:56 +0000 (18:08 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 4 Sep 2017 17:08:56 +0000 (18:08 +0100)
commitae83fe38934b02c45ce4130692b0440e5ecc4559
tree5033110f35a48cb074f98fc1a42ce3a0cb84c15c
parentcc4f8ae5900c397c70cc356acc0b46d74c7872d4
PR libstdc++/81017 add noexcept to std::function move operations

Backport from mainline
2017-06-08  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/81017
* include/std/functional (function::function(function&&))
(function::operator=(function&&)): Add noexcept.
* testsuite/20_util/function/assign/move.cc: Check for noexcept.
* testsuite/20_util/function/cons/move.cc: Likewise.

From-SVN: r251678
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function/assign/move.cc
libstdc++-v3/testsuite/20_util/function/cons/move.cc