aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2013-05-18 23:11:42 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2013-05-19 00:11:42 +0100
commitf92126ba396890f7ae874efee40d8413bf826090 (patch)
tree229348991af5535436956333b815ce37bf7c82e1
parent05a4261b10b4649e88f19cc23c5a7badb71fc401 (diff)
downloadgcc-f92126ba396890f7ae874efee40d8413bf826090.zip
gcc-f92126ba396890f7ae874efee40d8413bf826090.tar.gz
gcc-f92126ba396890f7ae874efee40d8413bf826090.tar.bz2
* include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
From-SVN: r199070
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/std/typeindex2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index db995a7..1c871c0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
+ * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
+
+2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
+
* include/bits/unique_ptr.h (make_unique): Declare inline.
(unique_ptr<T[],D>::reset()): Combine two overloads into one.
(default_delete, unique_ptr): Add doxygen comments.
diff --git a/libstdc++-v3/include/std/typeindex b/libstdc++-v3/include/std/typeindex
index 9e6db30..15be751 100644
--- a/libstdc++-v3/include/std/typeindex
+++ b/libstdc++-v3/include/std/typeindex
@@ -83,7 +83,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ return _M_target->hash_code(); }
const char*
- name() const
+ name() const noexcept
{ return _M_target->name(); }
private: