1
2#ifndef BOOST_MPL_PARTITION_HPP_INCLUDED
3#define BOOST_MPL_PARTITION_HPP_INCLUDED
4
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)
11//
12// See http://www.boost.org/libs/mpl for documentation.
13
14// $Id$
15// $Date$
16// $Revision$
17
18#include <boost/mpl/stable_partition.hpp>
19#include <boost/mpl/aux_/inserter_algorithm.hpp>
20
21namespace boost { namespace mpl {
22
23namespace aux {
24
25template <
26 typename Sequence
27 , typename Pred
28 , typename In1
29 , typename In2
30 >
31struct partition_impl
32 : stable_partition_impl<Sequence,Pred,In1,In2>
33{
34};
35
36template <
37 typename Sequence
38 , typename Pred
39 , typename In1
40 , typename In2
41 >
42struct reverse_partition_impl
43 : reverse_stable_partition_impl<Sequence,Pred,In1,In2>
44{
45};
46
47} // namespace aux
48
49BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, partition)
50
51}}
52
53#endif // BOOST_MPL_PARTITION_HPP_INCLUDED
54

source code of include/boost/mpl/partition.hpp