capydi
Loading...
Searching...
No Matches
WrappedWIth.hpp
Go to the documentation of this file.
1
#ifndef CAPYMETA_WRAPPED_WITH_HPP_
2
#define CAPYMETA_WRAPPED_WITH_HPP_
3
4
#include <type_traits>
5
6
namespace
capy::meta
7
{
8
9
namespace
implementation_details_
10
{
11
template
<
12
typename
Type,
13
template
<
typename
...>
typename
Wrapper
14
>
15
struct
IsWrappedWith
: std::false_type {};
16
17
template
<
18
template
<
typename
...>
typename
Wrapper,
19
typename
... Wrapees
20
>
21
struct
IsWrappedWith
<
22
Wrapper<Wrapees...>,
23
Wrapper
24
>
25
: std::true_type
26
{};
27
}
28
29
template
<
typename
T,
template
<
typename
...>
typename
Wrapper>
30
concept
wrapped_with
=
implementation_details_::IsWrappedWith<T, Wrapper>::value
;
31
32
}
33
34
#endif
// CAPYMETA_WRAPPED_WITH_HPP_
capy::meta::wrapped_with
Definition
WrappedWIth.hpp:30
capy::meta::implementation_details_
Definition
Trait.hpp:19
capy::meta
Definition
Rebind.hpp:7
capy::meta::implementation_details_::IsWrappedWith
Definition
WrappedWIth.hpp:15
core
capymeta
include
capymeta
concepts
WrappedWIth.hpp
Generated by
1.15.0