diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-26 15:35:02 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-26 15:35:02 +0000 |
| commit | 7cd718fd3090d86a236b411f1da7be32a8b75942 (patch) | |
| tree | 44782d53d5d545431f8c57862eb297e196007679 /libstdc++-v3/include/debug/unordered_set | |
| parent | 0dfaa5df6395620e0275e646938feff1faa28f64 (diff) | |
| download | ppe42-gcc-7cd718fd3090d86a236b411f1da7be32a8b75942.tar.gz ppe42-gcc-7cd718fd3090d86a236b411f1da7be32a8b75942.zip | |
2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
* src/list.cc: Use noexcept per the FDIS.
* src/compatibility-list-2.cc: Likewise.
* include/debug/set.h: Likewise.
* include/debug/unordered_map: Likewise.
* include/debug/multiset.h: Likewise.
* include/debug/forward_list: Likewise.
* include/debug/unordered_set: Likewise.
* include/debug/vector: Likewise.
* include/debug/map.h: Likewise.
* include/debug/deque: Likewise.
* include/debug/list: Likewise.
* include/debug/multimap.h: Likewise.
* include/profile/set.h: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/multiset.h: Likewise.
* include/profile/forward_list: Likewise.
* include/profile/vector: Likewise.
* include/profile/unordered_set: Likewise.
* include/profile/map.h: Likewise.
* include/profile/deque: Likewise.
* include/profile/list: Likewise.
* include/profile/multimap.h: Likewise.
* include/bits/hashtable.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/hashtable_policy.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/forward_list.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_tree.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/unordered_set')
| -rw-r--r-- | libstdc++-v3/include/debug/unordered_set | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/libstdc++-v3/include/debug/unordered_set b/libstdc++-v3/include/debug/unordered_set index e30f976d3d6..d67e98775ad 100644 --- a/libstdc++-v3/include/debug/unordered_set +++ b/libstdc++-v3/include/debug/unordered_set @@ -1,6 +1,6 @@ // Debugging unordered_set/unordered_multiset implementation -*- C++ -*- -// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -141,34 +141,34 @@ namespace __debug } void - clear() + clear() noexcept { _Base::clear(); this->_M_invalidate_all(); } iterator - begin() + begin() noexcept { return iterator(_Base::begin(), this); } const_iterator - begin() const + begin() const noexcept { return const_iterator(_Base::begin(), this); } iterator - end() + end() noexcept { return iterator(_Base::end(), this); } const_iterator - end() const + end() const noexcept { return const_iterator(_Base::end(), this); } const_iterator - cbegin() const + cbegin() const noexcept { return const_iterator(_Base::begin(), this); } const_iterator - cend() const + cend() const noexcept { return const_iterator(_Base::end(), this); } // local versions @@ -286,10 +286,10 @@ namespace __debug } _Base& - _M_base() { return *this; } + _M_base() noexcept { return *this; } const _Base& - _M_base() const { return *this; } + _M_base() const noexcept { return *this; } private: void @@ -418,34 +418,34 @@ namespace __debug } void - clear() + clear() noexcept { _Base::clear(); this->_M_invalidate_all(); } iterator - begin() + begin() noexcept { return iterator(_Base::begin(), this); } const_iterator - begin() const + begin() const noexcept { return const_iterator(_Base::begin(), this); } iterator - end() + end() noexcept { return iterator(_Base::end(), this); } const_iterator - end() const + end() const noexcept { return const_iterator(_Base::end(), this); } const_iterator - cbegin() const + cbegin() const noexcept { return const_iterator(_Base::begin(), this); } const_iterator - cend() const + cend() const noexcept { return const_iterator(_Base::end(), this); } // local versions @@ -556,10 +556,10 @@ namespace __debug } _Base& - _M_base() { return *this; } + _M_base() noexcept { return *this; } const _Base& - _M_base() const { return *this; } + _M_base() const noexcept { return *this; } private: void |

