epoc32/include/stdapis/boost/mpl/aux_/preprocessed/plain/and.hpp
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/preprocessed/plain/and.hpp	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,64 @@
     1.4 +
     1.5 +// Copyright Aleksey Gurtovoy 2000-2004
     1.6 +//
     1.7 +// Distributed under the Boost Software License, Version 1.0. 
     1.8 +// (See accompanying file LICENSE_1_0.txt or copy at 
     1.9 +// http://www.boost.org/LICENSE_1_0.txt)
    1.10 +//
    1.11 +
    1.12 +// Preprocessed version of "boost/mpl/and.hpp" header
    1.13 +// -- DO NOT modify by hand!
    1.14 +
    1.15 +namespace boost { namespace mpl {
    1.16 +
    1.17 +namespace aux {
    1.18 +
    1.19 +template< bool C_, typename T1, typename T2, typename T3, typename T4 >
    1.20 +struct and_impl
    1.21 +    : false_
    1.22 +{
    1.23 +};
    1.24 +
    1.25 +template< typename T1, typename T2, typename T3, typename T4 >
    1.26 +struct and_impl< true,T1,T2,T3,T4 >
    1.27 +    : and_impl<
    1.28 +          BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
    1.29 +        , T2, T3, T4
    1.30 +        , true_
    1.31 +        >
    1.32 +{
    1.33 +};
    1.34 +
    1.35 +template<>
    1.36 +struct and_impl<
    1.37 +          true
    1.38 +        , true_, true_, true_, true_
    1.39 +        >
    1.40 +    : true_
    1.41 +{
    1.42 +};
    1.43 +
    1.44 +} // namespace aux
    1.45 +
    1.46 +template<
    1.47 +      typename BOOST_MPL_AUX_NA_PARAM(T1)
    1.48 +    , typename BOOST_MPL_AUX_NA_PARAM(T2)
    1.49 +    , typename T3 = true_, typename T4 = true_, typename T5 = true_
    1.50 +    >
    1.51 +struct and_
    1.52 +
    1.53 +    : aux::and_impl<
    1.54 +          BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
    1.55 +        , T2, T3, T4, T5
    1.56 +        >
    1.57 +
    1.58 +{
    1.59 +};
    1.60 +
    1.61 +BOOST_MPL_AUX_NA_SPEC2(
    1.62 +      2
    1.63 +    , 5
    1.64 +    , and_
    1.65 +    )
    1.66 +
    1.67 +}}