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/inherit_linearly.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/inherit_linearly.hpp')
-rw-r--r-- | ext/boost/mpl/inherit_linearly.hpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ext/boost/mpl/inherit_linearly.hpp b/ext/boost/mpl/inherit_linearly.hpp new file mode 100644 index 0000000000..567d7d9e29 --- /dev/null +++ b/ext/boost/mpl/inherit_linearly.hpp @@ -0,0 +1,39 @@ + +#ifndef BOOST_MPL_INHERIT_FRONT_TO_BACK_HPP_INCLUDED +#define BOOST_MPL_INHERIT_FRONT_TO_BACK_HPP_INCLUDED + +// Copyright Aleksey Gurtovoy 2001-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) +// +// See http://www.boost.org/libs/mpl for documentation. + +// $Id: inherit_linearly.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ +// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $ +// $Revision: 49267 $ + +#include <boost/mpl/fold.hpp> +#include <boost/mpl/empty_base.hpp> +#include <boost/mpl/aux_/na_spec.hpp> +#include <boost/mpl/aux_/lambda_support.hpp> + +namespace boost { namespace mpl { + +template< + typename BOOST_MPL_AUX_NA_PARAM(Types_) + , typename BOOST_MPL_AUX_NA_PARAM(Node_) + , typename Root_ = empty_base + > +struct inherit_linearly + : fold<Types_,Root_,Node_> +{ + BOOST_MPL_AUX_LAMBDA_SUPPORT(3,inherit_linearly,(Types_,Node_,Root_)) +}; + +BOOST_MPL_AUX_NA_SPEC(2, inherit_linearly) + +}} + +#endif // BOOST_MPL_INHERIT_FRONT_TO_BACK_HPP_INCLUDED |