Files
boost_mpl/include/boost/mpl/partition.hpp
T

54 lines
1.0 KiB
C++
Raw Normal View History

2003-10-22 01:03:06 +00:00
#ifndef BOOST_MPL_PARTITION_HPP_INCLUDED
#define BOOST_MPL_PARTITION_HPP_INCLUDED
2004-09-02 15:41:37 +00:00
// Copyright Eric Friedman 2002-2003
2004-11-28 01:58:27 +00:00
// Copyright Aleksey Gurtovoy 2004
2004-09-02 15:41:37 +00:00
//
// 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.
2003-10-22 01:03:06 +00:00
2004-09-02 15:41:37 +00:00
// $Source$
// $Date$
// $Revision$
2003-10-22 01:03:06 +00:00
2004-11-28 01:58:27 +00:00
#include <boost/mpl/stable_partition.hpp>
#include <boost/mpl/aux_/inserter_algorithm.hpp>
2004-09-02 15:41:37 +00:00
namespace boost { namespace mpl {
2003-10-22 01:03:06 +00:00
2004-11-28 01:58:27 +00:00
namespace aux {
2003-10-22 01:03:06 +00:00
template <
2004-11-28 01:58:27 +00:00
typename Sequence
, typename Pred
, typename In1
, typename In2
2003-10-22 01:03:06 +00:00
>
2004-11-28 01:58:27 +00:00
struct partition_impl
: stable_partition_impl<Sequence,Pred,In1,In2>
2003-10-22 01:03:06 +00:00
{
};
2004-11-28 01:58:27 +00:00
template <
typename Sequence
, typename Pred
, typename In1
, typename In2
>
struct reverse_partition_impl
: reverse_stable_partition_impl<Sequence,Pred,In1,In2>
{
};
} // namespace aux
BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, partition)
2003-10-22 01:03:06 +00:00
2004-09-02 15:41:37 +00:00
}}
2003-10-22 01:03:06 +00:00
#endif // BOOST_MPL_PARTITION_HPP_INCLUDED