diff options
Diffstat (limited to 'libstdc++-v3/include/profile/map.h')
-rw-r--r-- | libstdc++-v3/include/profile/map.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h index 1edc16c7879..30f5f3aa679 100644 --- a/libstdc++-v3/include/profile/map.h +++ b/libstdc++-v3/include/profile/map.h @@ -137,44 +137,44 @@ namespace __profile // iterators: iterator - begin() + begin() _GLIBCXX_NOEXCEPT { return _Base::begin(); } const_iterator - begin() const + begin() const _GLIBCXX_NOEXCEPT { return _Base::begin(); } iterator - end() + end() _GLIBCXX_NOEXCEPT { return _Base::end(); } const_iterator - end() const + end() const _GLIBCXX_NOEXCEPT { return _Base::end(); } reverse_iterator - rbegin() + rbegin() _GLIBCXX_NOEXCEPT { __profcxx_map_to_unordered_map_invalidate(this); return reverse_iterator(end()); } const_reverse_iterator - rbegin() const + rbegin() const _GLIBCXX_NOEXCEPT { __profcxx_map_to_unordered_map_invalidate(this); return const_reverse_iterator(end()); } reverse_iterator - rend() + rend() _GLIBCXX_NOEXCEPT { __profcxx_map_to_unordered_map_invalidate(this); return reverse_iterator(begin()); } const_reverse_iterator - rend() const + rend() const _GLIBCXX_NOEXCEPT { __profcxx_map_to_unordered_map_invalidate(this); return const_reverse_iterator(begin()); @@ -182,22 +182,22 @@ namespace __profile #ifdef __GXX_EXPERIMENTAL_CXX0X__ const_iterator - cbegin() const + cbegin() const noexcept { return const_iterator(_Base::begin()); } const_iterator - cend() const + cend() const noexcept { return const_iterator(_Base::end()); } const_reverse_iterator - crbegin() const + crbegin() const noexcept { __profcxx_map_to_unordered_map_invalidate(this); return const_reverse_iterator(end()); } const_reverse_iterator - crend() const + crend() const noexcept { __profcxx_map_to_unordered_map_invalidate(this); return const_reverse_iterator(begin()); @@ -359,12 +359,11 @@ namespace __profile #endif void - swap(map& __x) { _Base::swap(__x); } void - clear() + clear() _GLIBCXX_NOEXCEPT { this->erase(begin(), end()); } // observers: @@ -443,10 +442,10 @@ namespace __profile } _Base& - _M_base() { return *this; } + _M_base() _GLIBCXX_NOEXCEPT { return *this; } const _Base& - _M_base() const { return *this; } + _M_base() const _GLIBCXX_NOEXCEPT { return *this; } }; |