[Bug libstdc++/81017] Class with vector of unique_ptr and std::function does not compile
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 25 18:05:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jul 25 18:04:54 2017
New Revision: 250536
URL: https://gcc.gnu.org/viewcvs?rev=250536&root=gcc&view=rev
Log:
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/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.
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/bits/std_function.h
branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/function/assign/move.cc
branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/function/cons/move.cc
More information about the Gcc-bugs
mailing list