epoc32/include/stdapis/boost/mpl/aux_/find_if_pred.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
williamr@2
     2
#ifndef BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
williamr@2
     3
#define BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
williamr@2
     4
williamr@2
     5
// Copyright Aleksey Gurtovoy 2000-2004
williamr@2
     6
// Copyright Eric Friedman 2002
williamr@2
     7
//
williamr@2
     8
// Distributed under the Boost Software License, Version 1.0. 
williamr@2
     9
// (See accompanying file LICENSE_1_0.txt or copy at 
williamr@2
    10
// http://www.boost.org/LICENSE_1_0.txt)
williamr@2
    11
//
williamr@2
    12
// See http://www.boost.org/libs/mpl for documentation.
williamr@2
    13
williamr@2
    14
#include <boost/mpl/aux_/iter_apply.hpp>
williamr@2
    15
#include <boost/mpl/not.hpp>
williamr@2
    16
williamr@2
    17
namespace boost { namespace mpl { namespace aux {
williamr@2
    18
williamr@2
    19
template< typename Predicate >
williamr@2
    20
struct find_if_pred
williamr@2
    21
{
williamr@2
    22
    template< typename Iterator >
williamr@2
    23
    struct apply
williamr@2
    24
    {
williamr@2
    25
        typedef not_< aux::iter_apply1<Predicate,Iterator> > type;
williamr@2
    26
    };
williamr@2
    27
};
williamr@2
    28
williamr@2
    29
}}}
williamr@2
    30
williamr@2
    31
#endif // BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED