]> git.lyx.org Git - features.git/blobdiff - boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp
boost: add eol property
[features.git] / boost / boost / mpl / aux_ / preprocessed / bcc_pre590 / advance_forward.hpp
index 1424fc176cd14fc14769336fcf315358d67cff36..9654ee330bf51f58618933f8bb1852288b512c21 100644 (file)
@@ -1,97 +1,97 @@
-\r
-// Copyright Aleksey Gurtovoy 2000-2004\r
-//\r
-// Distributed under the Boost Software License, Version 1.0. \r
-// (See accompanying file LICENSE_1_0.txt or copy at \r
-// http://www.boost.org/LICENSE_1_0.txt)\r
-//\r
-\r
-// *Preprocessed* version of the main "advance_forward.hpp" header\r
-// -- DO NOT modify by hand!\r
-\r
-namespace boost { namespace mpl { namespace aux {\r
-\r
-template< long N > struct advance_forward;\r
-template<>\r
-struct advance_forward<0>\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef Iterator iter0;\r
-        typedef iter0 type;\r
-    };\r
-};\r
-\r
-template<>\r
-struct advance_forward<1>\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef Iterator iter0;\r
-        typedef typename next<iter0>::type iter1;\r
-        typedef iter1 type;\r
-    };\r
-};\r
-\r
-template<>\r
-struct advance_forward<2>\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef Iterator iter0;\r
-        typedef typename next<iter0>::type iter1;\r
-        typedef typename next<iter1>::type iter2;\r
-        typedef iter2 type;\r
-    };\r
-};\r
-\r
-template<>\r
-struct advance_forward<3>\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef Iterator iter0;\r
-        typedef typename next<iter0>::type iter1;\r
-        typedef typename next<iter1>::type iter2;\r
-        typedef typename next<iter2>::type iter3;\r
-        typedef iter3 type;\r
-    };\r
-};\r
-\r
-template<>\r
-struct advance_forward<4>\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef Iterator iter0;\r
-        typedef typename next<iter0>::type iter1;\r
-        typedef typename next<iter1>::type iter2;\r
-        typedef typename next<iter2>::type iter3;\r
-        typedef typename next<iter3>::type iter4;\r
-        typedef iter4 type;\r
-    };\r
-};\r
-\r
-template< long N >\r
-struct advance_forward\r
-{\r
-    template< typename Iterator > struct apply\r
-    {\r
-        typedef typename apply_wrap1<\r
-              advance_forward<4>\r
-            , Iterator\r
-            >::type chunk_result_;\r
-\r
-        typedef typename apply_wrap1<\r
-              advance_forward<(\r
-                (N - 4) < 0\r
-                    ? 0\r
-                    : N - 4\r
-                    )>\r
-            , chunk_result_\r
-            >::type type;\r
-    };\r
-};\r
-\r
-}}}\r
-\r
+
+// Copyright Aleksey Gurtovoy 2000-2004
+//
+// Distributed under the Boost Software License, Version 1.0. 
+// (See accompanying file LICENSE_1_0.txt or copy at 
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+
+// *Preprocessed* version of the main "advance_forward.hpp" header
+// -- DO NOT modify by hand!
+
+namespace boost { namespace mpl { namespace aux {
+
+template< long N > struct advance_forward;
+template<>
+struct advance_forward<0>
+{
+    template< typename Iterator > struct apply
+    {
+        typedef Iterator iter0;
+        typedef iter0 type;
+    };
+};
+
+template<>
+struct advance_forward<1>
+{
+    template< typename Iterator > struct apply
+    {
+        typedef Iterator iter0;
+        typedef typename next<iter0>::type iter1;
+        typedef iter1 type;
+    };
+};
+
+template<>
+struct advance_forward<2>
+{
+    template< typename Iterator > struct apply
+    {
+        typedef Iterator iter0;
+        typedef typename next<iter0>::type iter1;
+        typedef typename next<iter1>::type iter2;
+        typedef iter2 type;
+    };
+};
+
+template<>
+struct advance_forward<3>
+{
+    template< typename Iterator > struct apply
+    {
+        typedef Iterator iter0;
+        typedef typename next<iter0>::type iter1;
+        typedef typename next<iter1>::type iter2;
+        typedef typename next<iter2>::type iter3;
+        typedef iter3 type;
+    };
+};
+
+template<>
+struct advance_forward<4>
+{
+    template< typename Iterator > struct apply
+    {
+        typedef Iterator iter0;
+        typedef typename next<iter0>::type iter1;
+        typedef typename next<iter1>::type iter2;
+        typedef typename next<iter2>::type iter3;
+        typedef typename next<iter3>::type iter4;
+        typedef iter4 type;
+    };
+};
+
+template< long N >
+struct advance_forward
+{
+    template< typename Iterator > struct apply
+    {
+        typedef typename apply_wrap1<
+              advance_forward<4>
+            , Iterator
+            >::type chunk_result_;
+
+        typedef typename apply_wrap1<
+              advance_forward<(
+                (N - 4) < 0
+                    ? 0
+                    : N - 4
+                    )>
+            , chunk_result_
+            >::type type;
+    };
+};
+
+}}}
+