blob: cf2b3c321a6108b4f872c7a6e372c013b134e163 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
Jeff Thompson3d613fd2013-10-15 15:39:04 -07002#ifndef NDNBOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
3#define NDNBOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED
Jeff Thompsona28eed82013-08-22 16:21:10 -07004
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 <ndnboost/mpl/aux_/iter_apply.hpp>
15#include <ndnboost/mpl/not.hpp>
16
17namespace ndnboost { namespace mpl { namespace aux {
18
19template< typename Predicate >
20struct 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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070031#endif // NDNBOOST_MPL_AUX_FIND_IF_PRED_HPP_INCLUDED