epoc32/include/stdapis/boost/mpl/aux_/find_if_pred.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/find_if_pred.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
     1.6 +#define BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2000-2004
     1.9 +// Copyright Eric Friedman 2002
    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 +#include <boost/mpl/aux_/iter_apply.hpp>
    1.18 +#include <boost/mpl/not.hpp>
    1.19 +
    1.20 +namespace boost { namespace mpl { namespace aux {
    1.21 +
    1.22 +template< typename Predicate >
    1.23 +struct find_if_pred
    1.24 +{
    1.25 +    template< typename Iterator >
    1.26 +    struct apply
    1.27 +    {
    1.28 +        typedef not_< aux::iter_apply1<Predicate,Iterator> > type;
    1.29 +    };
    1.30 +};
    1.31 +
    1.32 +}}}
    1.33 +
    1.34 +#endif // BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED