utility (get(std::pair<>&&)): Add.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 16 May 2011 18:09:17 +0000 (18:09 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 16 May 2011 18:09:17 +0000 (18:09 +0000)
commit18eeaec47bc14ce2a1ffc7011a4f7bdb33bc070c
tree5719dd46ba98d097b18f3d0c21dd26d7d38d91b9
parentf6449011601f2b983644f491e2348b99826e991a
utility (get(std::pair<>&&)): Add.

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

* include/std/utility (get(std::pair<>&&)): Add.
* include/bits/stl_pair.h (pair::swap(pair&),
swap(pair<>&, pair<>&)): Use noexcept.
* include/bits/random.h (discard_block_engine<>::base,
independent_bits_engine<>::base, shuffle_order_engine<>::base,
random_device::entropy): Use noexcept.
* include/std/array: Use noexcept where appropriate.
(get(array<>&&)): Add.
* testsuite/23_containers/array/requirements/get.cc: New.
* testsuite/20_util/pair/get.cc: Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
line number.

From-SVN: r173798
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/stl_pair.h
libstdc++-v3/include/std/array
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/pair/get.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
libstdc++-v3/testsuite/23_containers/array/requirements/get.cc [new file with mode: 0644]