* [v3] Fix two typos in <type_traits>
@ 2011-06-09 9:00 Paolo Carlini
0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2011-06-09 9:00 UTC (permalink / raw)
To: gcc-patches; +Cc: libstdc++
[-- Attachment #1: Type: text/plain, Size: 71 bytes --]
Hi,
tested x86_64-linux, committed.
Thanks,
Paolo.
////////////////
[-- Attachment #2: CL --]
[-- Type: text/plain, Size: 153 bytes --]
2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits (__is_copy_assignable_impl,
__is_nt_copy_assignable_impl): Fix typos.
[-- Attachment #3: patchlet --]
[-- Type: text/plain, Size: 677 bytes --]
Index: include/std/type_traits
===================================================================
--- include/std/type_traits (revision 174838)
+++ include/std/type_traits (working copy)
@@ -1029,7 +1029,7 @@
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 @@
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-09 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 9:00 [v3] Fix two typos in <type_traits> Paolo Carlini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).