char_traits.h: Use noexcept throughout.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 21 May 2011 00:05:03 +0000 (00:05 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 21 May 2011 00:05:03 +0000 (00:05 +0000)
commit2789f415a19db97588b65f237de3ea9ba5ba8da2
tree86c7c965f23f3734503384e7957b5e55c45ff13a
parentfa07d25b40bce1e4959a40a2753f1911e2b06431
char_traits.h: Use noexcept throughout.

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

* include/bits/char_traits.h: Use noexcept throughout.
* include/std/typeindex: Likewise.

* include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
noexcept; adjust callers.
* include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
* testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
* testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
* testsuite/20_util/pair/noexcept_swap.cc: Likewise.
* testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
line numbers.

From-SVN: r173986
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/char_traits.h
libstdc++-v3/include/bits/stl_pair.h
libstdc++-v3/include/std/tuple
libstdc++-v3/include/std/typeindex
libstdc++-v3/testsuite/20_util/pair/cons/noexcept_move_construct.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/pair/noexcept_move_assign.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/pair/noexcept_swap.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_move_construct.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc