diff options
author | Daniel Kruegler <daniel.kruegler@gmail.com> | 2016-01-12 21:19:58 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-01-12 21:19:58 +0000 |
commit | 26b5ace7ea8aff21431d0070377f24031b60aa24 (patch) | |
tree | f43c510143e6877bb163e4aefc633110dadaa085 /gcc/tree-ssa-threadupdate.c | |
parent | bd285a8bdbfc7ec391886b7c8433fb4aed1b66eb (diff) | |
download | gcc-26b5ace7ea8aff21431d0070377f24031b60aa24.zip gcc-26b5ace7ea8aff21431d0070377f24031b60aa24.tar.gz gcc-26b5ace7ea8aff21431d0070377f24031b60aa24.tar.bz2 |
libstdc++/68877 Reimplement std::__is_swappable
2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
PR libstdc++/68877
* include/std/type_traits: Following N4511, reimplement __is_swappable
and __is_nothrow_swappable. Move __is_swappable to namespace std,
adjust callers. Use __is_nothrow_swappable in swap.
* include/bits/move.h: Use __is_nothrow_swappable in swap.
* testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
__is_swappable related tests.
* testsuite/20_util/is_swappable/value.cc: New.
* testsuite/20_util/is_swappable/requirements/
explicit_instantiation.cc: New.
* testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
* testsuite/25_algorithms/swap/68877.cc: New.
From-SVN: r232296
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions