re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses deprecated...
authorChris Fairles <chris.fairles@gmail.com>
Fri, 17 Aug 2007 16:39:10 +0000 (16:39 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Aug 2007 16:39:10 +0000 (16:39 +0000)
2007-08-17  Chris Fairles  <chris.fairles@gmail.com>

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

From-SVN: r127588

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits

index 2c473b05c63863cc316c2e3d101ea07fdfeeded2..3a689d2c9da736db491bc6320e67161947da99ce 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-17  Chris Fairles  <chris.fairles@gmail.com>
+
+       PR libstdc++/33098
+       * include/std/type_traits (__is_convertible_helper):
+       Use add_lvalue_reference.
+
 2007-08-17  Johannes Willkomm  <willkomm@sc.rwth-aachen.de>
 
        PR libstdc++/33084
index df5bbbb0b20b2a5f4a4f42f71c3b67089f39d672..4af108315f5b463998d30eb4a977f1e25c3b0067 100644 (file)
@@ -240,7 +240,8 @@ namespace std
     {
       // "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>