PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp

http://hadesmem.googlecode.com/
C++ Header | 71 lines | 51 code | 12 blank | 8 comment | 0 complexity | 5dbd76a54fc3f189cc4795274248537e MD5 | raw file
 1
 2// Copyright Aleksey Gurtovoy 2000-2004
 3//
 4// Distributed under the Boost Software License, Version 1.0. 
 5// (See accompanying file LICENSE_1_0.txt or copy at 
 6// http://www.boost.org/LICENSE_1_0.txt)
 7//
 8
 9// Preprocessed version of "boost/mpl/or.hpp" header
10// -- DO NOT modify by hand!
11
12namespace boost { namespace mpl {
13
14namespace aux {
15template< bool C_ > struct or_impl
16{
17    template<
18          typename T1, typename T2, typename T3, typename T4
19        >
20    struct result_
21        : true_
22    {
23    };
24};
25
26template<> struct or_impl<false>
27{
28    template<
29          typename T1, typename T2, typename T3, typename T4
30        >
31    struct result_
32        : or_impl<
33              BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
34            >::template result_< T2,T3,T4,false_ >
35    {
36    };
37
38    template<> struct result_< false_,false_,false_,false_ >
39        : false_
40    {
41    };
42};
43
44} // namespace aux
45
46template<
47      typename BOOST_MPL_AUX_NA_PARAM(T1)
48    , typename BOOST_MPL_AUX_NA_PARAM(T2)
49    , typename T3 = false_, typename T4 = false_, typename T5 = false_
50    >
51struct or_
52
53    : aux::or_impl<
54          BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
55        >::template result_< T2,T3,T4,T5 >
56
57{
58    BOOST_MPL_AUX_LAMBDA_SUPPORT(
59          5
60        , or_
61        , ( T1, T2, T3, T4, T5)
62        )
63};
64
65BOOST_MPL_AUX_NA_SPEC2(
66      2
67    , 5
68    , or_
69    )
70
71}}