os/ossrv/ossrv_pub/boost_apis/boost/mpl/remove.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/mpl/remove.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,52 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_REMOVE_HPP_INCLUDED
     1.6 +#define BOOST_MPL_REMOVE_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2000-2004
     1.9 +// Copyright David Abrahams 2003-2004
    1.10 +//
    1.11 +// Distributed under the Boost Software License, Version 1.0. 
    1.12 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.13 +// http://www.boost.org/LICENSE_1_0.txt)
    1.14 +//
    1.15 +// See http://www.boost.org/libs/mpl for documentation.
    1.16 +
    1.17 +// $Source: /cvsroot/boost/boost/boost/mpl/remove.hpp,v $
    1.18 +// $Date: 2004/09/02 15:40:42 $
    1.19 +// $Revision: 1.5 $
    1.20 +
    1.21 +#include <boost/mpl/remove_if.hpp>
    1.22 +#include <boost/mpl/same_as.hpp>
    1.23 +#include <boost/mpl/aux_/inserter_algorithm.hpp>
    1.24 +
    1.25 +namespace boost { namespace mpl {
    1.26 +
    1.27 +namespace aux {
    1.28 +
    1.29 +template<
    1.30 +      typename Sequence
    1.31 +    , typename T
    1.32 +    , typename Inserter 
    1.33 +    >
    1.34 +struct remove_impl
    1.35 +    : remove_if_impl< Sequence, same_as<T>, Inserter >
    1.36 +{
    1.37 +};
    1.38 +
    1.39 +template<
    1.40 +      typename Sequence
    1.41 +    , typename T
    1.42 +    , typename Inserter 
    1.43 +    >
    1.44 +struct reverse_remove_impl
    1.45 +    : reverse_remove_if_impl< Sequence, same_as<T>, Inserter >
    1.46 +{
    1.47 +};
    1.48 +
    1.49 +} // namespace aux
    1.50 +
    1.51 +BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(3, remove)
    1.52 +
    1.53 +}}
    1.54 +
    1.55 +#endif // BOOST_MPL_REMOVE_HPP_INCLUDED