diff options
author | Jelte Jansen <jelte@isc.org> | 2009-10-30 01:32:12 +0100 |
---|---|---|
committer | Jelte Jansen <jelte@isc.org> | 2009-10-30 01:32:12 +0100 |
commit | 537ddbf8cde7038e0701b8eaab0d860813feff07 (patch) | |
tree | 25b147803bcccfff2ab0c34925d005266136230b /ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp | |
parent | better zoneset type (diff) | |
download | kea-537ddbf8cde7038e0701b8eaab0d860813feff07.tar.xz kea-537ddbf8cde7038e0701b8eaab0d860813feff07.zip |
include boost headers (all base ones, and asio; don't know if asio needs more than just the headers though)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@210 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp')
-rw-r--r-- | ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp b/ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp new file mode 100644 index 0000000000..e58640a41c --- /dev/null +++ b/ext/boost/mpl/aux_/preprocessed/msvc70/and.hpp @@ -0,0 +1,71 @@ + +// Copyright Aleksey Gurtovoy 2000-2004 +// +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +// + +// Preprocessed version of "boost/mpl/and.hpp" header +// -- DO NOT modify by hand! + +namespace boost { namespace mpl { + +namespace aux { +template< bool C_ > struct and_impl +{ + template< + typename T1, typename T2, typename T3, typename T4 + > + struct result_ + : false_ + { + }; +}; + +template<> struct and_impl<true> +{ + template< + typename T1, typename T2, typename T3, typename T4 + > + struct result_ + : and_impl< + BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value + >::template result_< T2,T3,T4,true_ > + { + }; + + template<> struct result_< true_,true_,true_,true_ > + : true_ + { + }; +}; + +} // namespace aux + +template< + typename BOOST_MPL_AUX_NA_PARAM(T1) + , typename BOOST_MPL_AUX_NA_PARAM(T2) + , typename T3 = true_, typename T4 = true_, typename T5 = true_ + > +struct and_ + + : aux::and_impl< + BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value + >::template result_< T2,T3,T4,T5 > + +{ + BOOST_MPL_AUX_LAMBDA_SUPPORT( + 5 + , and_ + , ( T1, T2, T3, T4, T5) + ) +}; + +BOOST_MPL_AUX_NA_SPEC2( + 2 + , 5 + , and_ + ) + +}} |