public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [v3] libstdc++/33098
@ 2007-08-17 16:40 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2007-08-17 16:40 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 56 bytes --]

Hi,

committed to mainline.

Paolo.

//////////////////

[-- Attachment #2: CL_33098 --]
[-- Type: text/plain, Size: 155 bytes --]

2007-08-17  Chris Fairles  <chris.fairles@gmail.com>

	PR libstdc++/33098
	* include/std/type_traits (__is_convertible_helper):
	Use add_lvalue_reference.

[-- Attachment #3: patch_33098 --]
[-- Type: text/plain, Size: 504 bytes --]

Index: include/std/type_traits
===================================================================
--- include/std/type_traits	(revision 127586)
+++ include/std/type_traits	(working copy)
@@ -240,7 +240,8 @@
     {
       // "An imaginary lvalue of type From...".
       static const bool __value = (__is_convertible_simple<typename
-				   add_reference<_From>::type, _To>::__value);
+				   add_lvalue_reference<_From>::type,
+				   _To>::__value);
     };
 
   template<typename _From, typename _To>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-17 16:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-17 16:40 [v3] libstdc++/33098 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).