di
0.1.0
Loading...
Searching...
No Matches
impl.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/any/concepts/interface.h
"
4
#include "
di/any/concepts/method_callable_with.h
"
5
6
namespace
di::concepts
{
7
namespace
detail {
8
template
<
typename
T,
typename
I>
9
constexpr
inline
bool
impl_helper =
false
;
10
11
template
<
typename
T,
typename
... Methods>
12
constexpr
inline
bool
impl_helper<T, meta::List<Methods...>> = (MethodCallableWith<meta::Type<Methods>, T> && ...);
13
14
}
15
16
template
<
typename
T,
typename
Interface>
17
concept
Impl
= detail::impl_helper<T, Interface>;
18
}
19
20
namespace
di
{
21
using
concepts::Impl
;
22
}
di::concepts::Impl
Definition
impl.h:17
interface.h
method_callable_with.h
di::concepts
Definition
any_storable.h:9
di
Definition
any_storable.h:9
di
any
concepts
impl.h
Generated by
1.13.2