Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:41:56

0001 
0002 #ifndef BOOST_MPL_PARTITION_HPP_INCLUDED
0003 #define BOOST_MPL_PARTITION_HPP_INCLUDED
0004 
0005 // Copyright Eric Friedman 2002-2003
0006 // Copyright Aleksey Gurtovoy 2004
0007 //
0008 // Distributed under the Boost Software License, Version 1.0. 
0009 // (See accompanying file LICENSE_1_0.txt or copy at 
0010 // http://www.boost.org/LICENSE_1_0.txt)
0011 //
0012 // See http://www.boost.org/libs/mpl for documentation.
0013 
0014 // $Id$
0015 // $Date$
0016 // $Revision$
0017 
0018 #include <boost/mpl/stable_partition.hpp>
0019 #include <boost/mpl/aux_/inserter_algorithm.hpp>
0020 
0021 namespace boost { namespace mpl {
0022 
0023 namespace aux {
0024  
0025 template <
0026       typename Sequence
0027     , typename Pred
0028     , typename In1
0029     , typename In2
0030     >
0031 struct partition_impl
0032     : stable_partition_impl<Sequence,Pred,In1,In2>
0033 {
0034 };
0035 
0036 template <
0037       typename Sequence
0038     , typename Pred
0039     , typename In1
0040     , typename In2
0041     >
0042 struct reverse_partition_impl
0043     : reverse_stable_partition_impl<Sequence,Pred,In1,In2>
0044 {
0045 };
0046 
0047 } // namespace aux
0048 
0049 BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, partition)
0050 
0051 }}
0052 
0053 #endif // BOOST_MPL_PARTITION_HPP_INCLUDED