Pack required boost code together.
[xy_vsfilter.git] / src / thirdparty / boost_1_47_0 / boost / mpl / partition.hpp
blob96595bf2981031c0fe3d52586b1b8ca16df8cffc
2 #ifndef BOOST_MPL_PARTITION_HPP_INCLUDED
3 #define BOOST_MPL_PARTITION_HPP_INCLUDED
5 // Copyright Eric Friedman 2002-2003
6 // Copyright Aleksey Gurtovoy 2004
7 //
8 // Distributed under the Boost Software License, Version 1.0.
9 // (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
12 // See http://www.boost.org/libs/mpl for documentation.
14 // $Id: partition.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
15 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
16 // $Revision: 49267 $
18 #include <boost/mpl/stable_partition.hpp>
19 #include <boost/mpl/aux_/inserter_algorithm.hpp>
21 namespace boost { namespace mpl {
23 namespace aux {
25 template <
26 typename Sequence
27 , typename Pred
28 , typename In1
29 , typename In2
31 struct partition_impl
32 : stable_partition_impl<Sequence,Pred,In1,In2>
36 template <
37 typename Sequence
38 , typename Pred
39 , typename In1
40 , typename In2
42 struct reverse_partition_impl
43 : reverse_stable_partition_impl<Sequence,Pred,In1,In2>
47 } // namespace aux
49 BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, partition)
53 #endif // BOOST_MPL_PARTITION_HPP_INCLUDED