tuple: Use noexcept where appropriate.
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 18 May 2011 00:12:58 +0000 (00:12 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 18 May 2011 00:12:58 +0000 (00:12 +0000)
commit1aa1114b634bbf707af735577fd311b713b88866
treeafec93daa8700d2ccfbc319b7397fda8ecb9b75e
parent82bd45d7f0e2b3b6b4f355c89ad16fbc43420a30
tuple: Use noexcept where appropriate.

2011-05-17  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/tuple: Use noexcept where appropriate.
(tuple<>::swap): Rework implementation.
(_Head_base<>::_M_swap_impl): Remove.
(get(std::tuple<>&&)): Add.
* testsuite/20_util/tuple/element_access/get2.cc: New.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
line number.

From-SVN: r173838
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/element_access/get2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc