os/ossrv/ossrv_pub/boost_apis/boost/mpl/partition.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
sl@0
     2
#ifndef BOOST_MPL_PARTITION_HPP_INCLUDED
sl@0
     3
#define BOOST_MPL_PARTITION_HPP_INCLUDED
sl@0
     4
sl@0
     5
// Copyright Eric Friedman 2002-2003
sl@0
     6
// Copyright Aleksey Gurtovoy 2004
sl@0
     7
//
sl@0
     8
// Distributed under the Boost Software License, Version 1.0. 
sl@0
     9
// (See accompanying file LICENSE_1_0.txt or copy at 
sl@0
    10
// http://www.boost.org/LICENSE_1_0.txt)
sl@0
    11
//
sl@0
    12
// See http://www.boost.org/libs/mpl for documentation.
sl@0
    13
sl@0
    14
// $Source: /cvsroot/boost/boost/boost/mpl/partition.hpp,v $
sl@0
    15
// $Date: 2004/11/28 01:56:21 $
sl@0
    16
// $Revision: 1.4 $
sl@0
    17
sl@0
    18
#include <boost/mpl/stable_partition.hpp>
sl@0
    19
#include <boost/mpl/aux_/inserter_algorithm.hpp>
sl@0
    20
sl@0
    21
namespace boost { namespace mpl {
sl@0
    22
sl@0
    23
namespace aux {
sl@0
    24
 
sl@0
    25
template <
sl@0
    26
      typename Sequence
sl@0
    27
    , typename Pred
sl@0
    28
    , typename In1
sl@0
    29
    , typename In2
sl@0
    30
    >
sl@0
    31
struct partition_impl
sl@0
    32
    : stable_partition_impl<Sequence,Pred,In1,In2>
sl@0
    33
{
sl@0
    34
};
sl@0
    35
sl@0
    36
template <
sl@0
    37
      typename Sequence
sl@0
    38
    , typename Pred
sl@0
    39
    , typename In1
sl@0
    40
    , typename In2
sl@0
    41
    >
sl@0
    42
struct reverse_partition_impl
sl@0
    43
    : reverse_stable_partition_impl<Sequence,Pred,In1,In2>
sl@0
    44
{
sl@0
    45
};
sl@0
    46
sl@0
    47
} // namespace aux
sl@0
    48
sl@0
    49
BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, partition)
sl@0
    50
sl@0
    51
}}
sl@0
    52
sl@0
    53
#endif // BOOST_MPL_PARTITION_HPP_INCLUDED