2 // Copyright Aleksey Gurtovoy 2001-2004
\r
4 // Distributed under the Boost Software License, Version 1.0.
\r
5 // (See accompanying file LICENSE_1_0.txt or copy at
\r
6 // http://www.boost.org/LICENSE_1_0.txt)
\r
9 // Preprocessed version of "boost/mpl/inherit.hpp" header
\r
10 // -- DO NOT modify by hand!
\r
12 namespace boost { namespace mpl {
\r
15 typename BOOST_MPL_AUX_NA_PARAM(T1)
\r
16 , typename BOOST_MPL_AUX_NA_PARAM(T2)
\r
21 typedef inherit2 type;
\r
22 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, inherit2, (T1, T2))
\r
25 template< typename T1 >
\r
26 struct inherit2< T1,empty_base >
\r
29 BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(2, inherit2, (T1, empty_base))
\r
32 template< typename T2 >
\r
33 struct inherit2< empty_base,T2 >
\r
36 BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(2, inherit2, (empty_base, T2))
\r
40 struct inherit2< empty_base,empty_base >
\r
42 typedef empty_base type;
\r
43 BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(2, inherit2, (empty_base, empty_base))
\r
46 BOOST_MPL_AUX_NA_SPEC(2, inherit2)
\r
49 typename T1 = na, typename T2 = na, typename T3 = na
\r
59 BOOST_MPL_AUX_LAMBDA_SUPPORT(
\r
66 BOOST_MPL_AUX_NA_SPEC(3, inherit3)
\r
69 typename T1 = na, typename T2 = na, typename T3 = na, typename T4 = na
\r
79 BOOST_MPL_AUX_LAMBDA_SUPPORT(
\r
86 BOOST_MPL_AUX_NA_SPEC(4, inherit4)
\r
89 typename T1 = na, typename T2 = na, typename T3 = na, typename T4 = na
\r
100 BOOST_MPL_AUX_LAMBDA_SUPPORT(
\r
103 , ( T1, T2, T3, T4, T5)
\r
107 BOOST_MPL_AUX_NA_SPEC(5, inherit5)
\r
109 /// primary template
\r
112 typename T1 = empty_base, typename T2 = empty_base
\r
113 , typename T3 = empty_base, typename T4 = empty_base
\r
114 , typename T5 = empty_base
\r
117 : inherit5< T1,T2,T3,T4,T5 >
\r
122 struct inherit< na,na,na,na,na >
\r
126 typename T1 = empty_base, typename T2 = empty_base
\r
127 , typename T3 = empty_base, typename T4 = empty_base
\r
128 , typename T5 = empty_base
\r
132 : inherit< T1,T2,T3,T4,T5 >
\r
137 BOOST_MPL_AUX_NA_SPEC_LAMBDA(5, inherit)
\r
138 BOOST_MPL_AUX_NA_SPEC_ARITY(5, inherit)
\r
139 BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(5, 5, inherit)
\r