forked from boostorg/mpl
62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
// preprocessed version of 'boost/mpl/aux_/config/use_preprocessed.hpp' header
|
|
// see the original for copyright information
|
|
|
|
namespace boost { namespace mpl {
|
|
|
|
namespace aux {
|
|
|
|
template< bool C_, typename T1, typename T2, typename T3, typename T4 >
|
|
struct and_impl
|
|
: false_
|
|
{
|
|
};
|
|
|
|
template< typename T1, typename T2, typename T3, typename T4 >
|
|
struct and_impl< true,T1,T2,T3,T4 >
|
|
: and_impl<
|
|
BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
|
|
, T2, T3, T4
|
|
, true_
|
|
>
|
|
{
|
|
};
|
|
|
|
template<>
|
|
struct and_impl<
|
|
true
|
|
, true_, true_, true_, true_
|
|
>
|
|
: true_
|
|
{
|
|
};
|
|
|
|
} // namespace aux
|
|
|
|
template<
|
|
typename BOOST_MPL_AUX_VOID_SPEC_PARAM(T1)
|
|
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(T2)
|
|
, typename T3 = true_, typename T4 = true_, typename T5 = true_
|
|
>
|
|
struct and_
|
|
|
|
: aux::and_impl<
|
|
BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value
|
|
, T2, T3, T4, T5
|
|
>
|
|
|
|
{
|
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
|
5
|
|
, and_
|
|
, (T1, T2, T3, T4, T5)
|
|
)
|
|
};
|
|
|
|
BOOST_MPL_AUX_VOID_SPEC_EXT(
|
|
2
|
|
, 5
|
|
, and_
|
|
)
|
|
|
|
}} // namespace boost::mpl
|