~tsarev/boostdc/cmake

« back to all changes in this revision

Viewing changes to boost/boost/mpl/aux_/find_if_pred.hpp

  • Committer: bigmuscle
  • Date: 2010-05-08 08:47:15 UTC
  • Revision ID: svn-v4:5fb55d53-692c-0410-a46a-e90ab66e00ee:trunk:497
removed old boost version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
3
 
#define BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
4
 
 
5
 
// Copyright Aleksey Gurtovoy 2000-2004
6
 
// Copyright Eric Friedman 2002
7
 
//
8
 
// Distributed under the Boost Software License, Version 1.0. 
9
 
// (See accompanying file LICENSE_1_0.txt or copy at 
10
 
// http://www.boost.org/LICENSE_1_0.txt)
11
 
//
12
 
// See http://www.boost.org/libs/mpl for documentation.
13
 
 
14
 
#include <boost/mpl/aux_/iter_apply.hpp>
15
 
#include <boost/mpl/not.hpp>
16
 
 
17
 
namespace boost { namespace mpl { namespace aux {
18
 
 
19
 
template< typename Predicate >
20
 
struct find_if_pred
21
 
{
22
 
    template< typename Iterator >
23
 
    struct apply
24
 
    {
25
 
        typedef not_< aux::iter_apply1<Predicate,Iterator> > type;
26
 
    };
27
 
};
28
 
 
29
 
}}}
30
 
 
31
 
#endif // BOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED