OSDN Git Service

2010-03-19 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / bits / random.tcc
index 5a66bd6..e47b1c8 100644 (file)
@@ -87,16 +87,16 @@ namespace std
        { return __a * __x + __c; }
       };
 
-    template<typename _InputIterator, typename _OutputIterator,
-            typename _UnaryOperation>
-      _OutputIterator
-      __transform(_InputIterator __first, _InputIterator __last,
-                 _OutputIterator __result, _UnaryOperation __unary_op)
-      {
-       for (; __first != __last; ++__first, ++__result)
-         *__result = __unary_op(*__first);
-       return __result;
-      }
+  template<typename _InputIterator, typename _OutputIterator,
+          typename _UnaryOperation>
+    _OutputIterator
+    __transform(_InputIterator __first, _InputIterator __last,
+             _OutputIterator __result, _UnaryOperation __unary_op)
+    {
+      for (; __first != __last; ++__first, ++__result)
+       *__result = __unary_op(*__first);
+      return __result;
+    }
   } // namespace __detail