]> gcc.gnu.org Git - gcc.git/commitdiff
re PR libstdc++/18690 (tr1/utility is broken on darwin)
authorPaolo Carlini <pcarlini@suse.de>
Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)
2004-11-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/18690
* include/tr1/utility (get(pair), get(const pair)): Change
occurrences of _I to _Int.

From-SVN: r91390

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/utility

index ce9e287e68192b5d12f4c3de61d7f6364e168d1a..0dee3c5cef7eb126245e057cedf9febac5c8e6ec 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-27  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/18690
+       * include/tr1/utility (get(pair), get(const pair)): Change
+       occurrences of _I to _Int.
+
 2004-11-27  Paolo Carlini  <pcarlini@suse.de>
 
        * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
index 92484ea8cc5a112fb3c88144b587bbbc6b713337..c987d0459346b968d244bb77f1695f47de18d578 100644 (file)
@@ -74,15 +74,15 @@ namespace tr1
       { return __pair.second; }
     };
 
-   template<int _I, class _Tp1, class _Tp2>
-     typename tuple_element<_I, std::pair<_Tp1, _Tp2> >::type&
+   template<int _Int, class _Tp1, class _Tp2>
+     typename tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&
      get(pair<_Tp1, _Tp2>& __in)
-     { return __pair_get<_I>::__get(__in); }
+     { return __pair_get<_Int>::__get(__in); }
  
-   template<int _I, class _Tp1, class _Tp2>
-     const typename tuple_element<_I, std::pair<_Tp1, _Tp2> >::type&
+   template<int _Int, class _Tp1, class _Tp2>
+     const typename tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&
      get(const pair<_Tp1, _Tp2>& __in)
-     { return __pair_get<_I>::__const_get(__in); }
+     { return __pair_get<_Int>::__const_get(__in); }
 }
 } 
 
This page took 0.069646 seconds and 5 git commands to generate.