mirror of git://gcc.gnu.org/git/gcc.git
stl_bvector.h (vector<bool>::vector()): Add noexcept.
* include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept. * include/bits/stl_map.h (map::map()): Likewise. * include/bits/stl_multimap.h (multimap::multimap()): Likewise. * include/bits/stl_multiset.h (multiset::multiset()): Likewise. * include/bits/stl_set.h (set::set()): Likewise. From-SVN: r225024
This commit is contained in:
parent
5265e7ba85
commit
504a5fe6fd
|
|
@ -1,3 +1,11 @@
|
||||||
|
2015-06-26 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
|
||||||
|
* include/bits/stl_map.h (map::map()): Likewise.
|
||||||
|
* include/bits/stl_multimap.h (multimap::multimap()): Likewise.
|
||||||
|
* include/bits/stl_multiset.h (multiset::multiset()): Likewise.
|
||||||
|
* include/bits/stl_set.h (set::set()): Likewise.
|
||||||
|
|
||||||
2015-06-25 Jonathan Wakely <jwakely@redhat.com>
|
2015-06-25 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/bits/locale_conv.h (__do_str_codecvt): Set __count.
|
* include/bits/locale_conv.h (__do_str_codecvt): Set __count.
|
||||||
|
|
|
||||||
|
|
@ -573,6 +573,9 @@ template<typename _Alloc>
|
||||||
|
|
||||||
public:
|
public:
|
||||||
vector()
|
vector()
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
noexcept(is_nothrow_default_constructible<allocator_type>::value)
|
||||||
|
#endif
|
||||||
: _Base() { }
|
: _Base() { }
|
||||||
|
|
||||||
explicit
|
explicit
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
||||||
* @brief Default constructor creates no elements.
|
* @brief Default constructor creates no elements.
|
||||||
*/
|
*/
|
||||||
map()
|
map()
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
noexcept(is_nothrow_default_constructible<allocator_type>::value)
|
||||||
|
#endif
|
||||||
: _M_t() { }
|
: _M_t() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -158,6 +158,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
||||||
* @brief Default constructor creates no elements.
|
* @brief Default constructor creates no elements.
|
||||||
*/
|
*/
|
||||||
multimap()
|
multimap()
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
noexcept(is_nothrow_default_constructible<allocator_type>::value)
|
||||||
|
#endif
|
||||||
: _M_t() { }
|
: _M_t() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
||||||
* @brief Default constructor creates no elements.
|
* @brief Default constructor creates no elements.
|
||||||
*/
|
*/
|
||||||
multiset()
|
multiset()
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
noexcept(is_nothrow_default_constructible<allocator_type>::value)
|
||||||
|
#endif
|
||||||
: _M_t() { }
|
: _M_t() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
||||||
* @brief Default constructor creates no elements.
|
* @brief Default constructor creates no elements.
|
||||||
*/
|
*/
|
||||||
set()
|
set()
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
noexcept(is_nothrow_default_constructible<allocator_type>::value)
|
||||||
|
#endif
|
||||||
: _M_t() { }
|
: _M_t() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue