aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2011-06-09 08:03:14 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-06-09 08:03:14 +0000
commit9b3a81dacde05c5e458527e63a8ecfe94963bf7e (patch)
tree8cd7a3fa973dcd982eeec4f3fcedff55efb091df
parent8ced31fe6da7fbdc1ec732d7ccbf8f3f401cee0d (diff)
downloadgcc-9b3a81dacde05c5e458527e63a8ecfe94963bf7e.zip
gcc-9b3a81dacde05c5e458527e63a8ecfe94963bf7e.tar.gz
gcc-9b3a81dacde05c5e458527e63a8ecfe94963bf7e.tar.bz2
type_traits (__is_copy_assignable_impl, [...]): Fix typos.
2011-06-09 Paolo Carlini <paolo.carlini@oracle.com> * include/std/type_traits (__is_copy_assignable_impl, __is_nt_copy_assignable_impl): Fix typos. From-SVN: r174840
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/std/type_traits4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f8601af..97d4b99 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * include/std/type_traits (__is_copy_assignable_impl,
+ __is_nt_copy_assignable_impl): Fix typo.
+
2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
* include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits
index a8842ed..9e40702 100644
--- a/libstdc++-v3/include/std/type_traits
+++ b/libstdc++-v3/include/std/type_traits
@@ -1029,7 +1029,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _Tp>
struct __is_copy_assignable_impl<_Tp, false>
- : public is_assignable<_Tp&, const _Tp&&>
+ : public is_assignable<_Tp&, const _Tp&>
{ };
/// is_copy_assignable
@@ -1077,7 +1077,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _Tp>
struct __is_nt_copy_assignable_impl<_Tp, false>
- : public is_nothrow_assignable<_Tp&, const _Tp&&>
+ : public is_nothrow_assignable<_Tp&, const _Tp&>
{ };
/// is_nothrow_copy_assignable