PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/mpl/partition.hpp

http://hadesmem.googlecode.com/
C++ Header | 53 lines | 30 code | 12 blank | 11 comment | 0 complexity | 93151e5351ab9b82850f2e67ebd544d2 MD5 | raw file
 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: partition.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
15// $Date: 2008-10-11 17:19:02 +1100 (Sat, 11 Oct 2008) $
16// $Revision: 49267 $
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