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

Private GIT Repository
175ee57e13107dcf2c8a63aca703cab34533ee52
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / mpl / list / aux_ / item.hpp
1 \r
2 #ifndef BOOST_MPL_LIST_AUX_NODE_HPP_INCLUDED\r
3 #define BOOST_MPL_LIST_AUX_NODE_HPP_INCLUDED\r
4 \r
5 // Copyright Aleksey Gurtovoy 2000-2004\r
6 //\r
7 // Distributed under the Boost Software License, Version 1.0. \r
8 // (See accompanying file LICENSE_1_0.txt or copy at \r
9 // http://www.boost.org/LICENSE_1_0.txt)\r
10 //\r
11 // See http://www.boost.org/libs/mpl for documentation.\r
12 \r
13 // $Id: item.hpp 49267 2008-10-11 06:19:02Z agurtovoy $\r
14 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $\r
15 // $Revision: 49267 $\r
16 \r
17 #include <boost/mpl/long.hpp>\r
18 #include <boost/mpl/list/aux_/tag.hpp>\r
19 #include <boost/mpl/aux_/config/msvc.hpp>\r
20 #include <boost/mpl/aux_/config/workaround.hpp>\r
21 \r
22 namespace boost { namespace mpl {\r
23 \r
24 template<\r
25       typename Size\r
26     , typename T\r
27     , typename Next\r
28     >\r
29 struct l_item\r
30 {\r
31 // agurt, 17/jul/03: to facilitate the deficient 'is_sequence' implementation \r
32 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)\r
33     typedef int begin;\r
34 #endif\r
35     typedef aux::list_tag tag;\r
36     typedef l_item type;\r
37 \r
38     typedef Size size;\r
39     typedef T item;\r
40     typedef Next next;\r
41 };\r
42 \r
43 struct l_end\r
44 {\r
45 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)\r
46     typedef int begin;\r
47 #endif\r
48     typedef aux::list_tag tag;\r
49     typedef l_end type;\r
50     typedef long_<0> size;\r
51 };\r
52 \r
53 }}\r
54 \r
55 #endif // BOOST_MPL_LIST_AUX_NODE_HPP_INCLUDED\r