capydi
Loading...
Searching...
No Matches
Filter.hpp
Go to the documentation of this file.
1#ifndef CAPYDI_FILTER_HPP_
2#define CAPYDI_FILTER_HPP_
3
6
7#ifndef BOOST_FOUND
8#include "legacy/Filter.hpp"
9#endif // !BOOST_FOUND
10
11namespace capy::meta
12{
13
14template<
15 typename Pack_,
17>
19#ifdef BOOST_FOUND
20 = boost_adapters::as_pack<boost::mp11::mp_filter<
21 Predicate::template Functor,
22 boost_adapters::as_mp_list<Pack_>
23 >>;
24#else
26 Pack_,
28 >;
29#endif // !BOOST_FOUND
30
31}
32
33#endif // !CAPYDI_FILTER_HPP_
Definition Trait.hpp:67
typename Filter< Pack, Predicate >::type filter_t
Definition Filter.hpp:44
Definition Rebind.hpp:7
as_nary_fv< MetaFunctor, MetaArity::N1 > as_unary_fv
Definition Trait.hpp:94
legacy::filter_t< Pack_, as_unary_fv< Predicate >::template Functor > pack_filter_t
Definition Filter.hpp:18