File indexing completed on 2025-01-18 09:41:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 namespace boost { namespace mpl {
0013
0014 namespace aux {
0015 template< bool C_ > struct and_impl
0016 {
0017 template<
0018 typename T1, typename T2, typename T3, typename T4
0019 >
0020 struct result_
0021 : false_
0022 {
0023 };
0024 };
0025
0026 template<> struct and_impl<true>
0027 {
0028 template<
0029 typename T1, typename T2, typename T3, typename T4
0030 >
0031 struct result_
0032 : and_impl<
0033 BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
0034 >::template result_< T2,T3,T4,true_ >
0035 {
0036 };
0037 };
0038
0039 template<>
0040 struct and_impl<true>
0041 ::result_< true_,true_,true_,true_ >
0042 : true_
0043 {
0044 };
0045
0046 }
0047
0048 template<
0049 typename BOOST_MPL_AUX_NA_PARAM(T1)
0050 , typename BOOST_MPL_AUX_NA_PARAM(T2)
0051 , typename T3 = true_, typename T4 = true_, typename T5 = true_
0052 >
0053 struct and_
0054
0055 : aux::and_impl<
0056 BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
0057 >::template result_< T2,T3,T4,T5 >
0058
0059 {
0060 BOOST_MPL_AUX_LAMBDA_SUPPORT(
0061 5
0062 , and_
0063 , ( T1, T2, T3, T4, T5)
0064 )
0065 };
0066
0067 BOOST_MPL_AUX_NA_SPEC2(
0068 2
0069 , 5
0070 , and_
0071 )
0072
0073 }}