]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/81017 add noexcept to std::function move operations
authorJonathan Wakely <jwakely@redhat.com>
Thu, 8 Jun 2017 14:27:45 +0000 (15:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 8 Jun 2017 14:27:45 +0000 (15:27 +0100)
commit853ed6bc10c6948ffd1d3c6730d78818375458e1
tree7a463069bf00a2a81d2e1d8e1fcb7cc9006a350c
parent0b6bc904227e2dae47f178e4d5468931669df197
PR libstdc++/81017 add noexcept to std::function move operations

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

From-SVN: r249018
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_function.h
libstdc++-v3/testsuite/20_util/function/assign/move.cc
libstdc++-v3/testsuite/20_util/function/cons/move.cc