capydi
Loading...
Searching...
No Matches
Contains.hpp
Go to the documentation of this file.
1#ifndef CAPYDI_CONTAINS_HPP_
2#define CAPYDI_CONTAINS_HPP_
3
4#include "Filter.hpp"
6
7#include <concepts>
8
9namespace capy::meta
10{
11
12template<typename Pack_, typename Element>
14 Pack_,
16 return std::same_as<T, Element>;
18>>;
19
20}
21
22#endif // !CAPYDI_CONTAINS_HPP_
Definition Rebind.hpp:7
@ N1
Definition MetaArity.hpp:12
legacy::filter_t< Pack_, as_unary_fv< Predicate >::template Functor > pack_filter_t
Definition Filter.hpp:18
constexpr bool pack_contains_t
Definition Contains.hpp:13
constexpr bool pack_is_empty_v
Definition Pack.hpp:78
A compile-time heterogeneous type list.
Definition Pack.hpp:70
Definition Functor.hpp:54