]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/mpl/copy.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
8fdbd6109bfb02828eb6c2ef6cef87d022d95494
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / mpl / copy.hpp
1 \r
2 #ifndef BOOST_MPL_COPY_HPP_INCLUDED\r
3 #define BOOST_MPL_COPY_HPP_INCLUDED\r
4 \r
5 // Copyright Aleksey Gurtovoy 2000-2004\r
6 // Copyright David Abrahams 2003-2004\r
7 //\r
8 // Distributed under the Boost Software License, Version 1.0. \r
9 // (See accompanying file LICENSE_1_0.txt or copy at \r
10 // http://www.boost.org/LICENSE_1_0.txt)\r
11 //\r
12 // See http://www.boost.org/libs/mpl for documentation.\r
13 \r
14 // $Id: copy.hpp 49267 2008-10-11 06:19:02Z agurtovoy $\r
15 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $\r
16 // $Revision: 49267 $\r
17 \r
18 #include <boost/mpl/fold.hpp>\r
19 #include <boost/mpl/reverse_fold.hpp>\r
20 #include <boost/mpl/aux_/inserter_algorithm.hpp>\r
21 \r
22 namespace boost { namespace mpl {\r
23 \r
24 namespace aux {\r
25 \r
26 template<\r
27       typename Sequence\r
28     , typename Inserter\r
29     >\r
30 struct copy_impl\r
31     : fold< \r
32           Sequence\r
33         , typename Inserter::state\r
34         , typename Inserter::operation\r
35         >\r
36 {\r
37 };\r
38 \r
39 template<\r
40       typename Sequence\r
41     , typename Inserter\r
42     >\r
43 struct reverse_copy_impl\r
44     : reverse_fold<\r
45           Sequence\r
46         , typename Inserter::state\r
47         , typename Inserter::operation\r
48         >\r
49 {\r
50 };\r
51 \r
52 } // namespace aux\r
53 \r
54 BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(2, copy)\r
55 \r
56 }}\r
57 \r
58 #endif // BOOST_MPL_COPY_HPP_INCLUDED\r