Iros
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
di::concepts::MethodCallableWith
Definition
method_callable_with.h:23
interface.h
method_callable_with.h
di::concepts::detail
Definition
impl.h:7
di::concepts::detail::impl_helper
constexpr bool impl_helper
Definition
impl.h:9
di::concepts
Definition
any_storable.h:9
di
Definition
zstring_parser.h:9
di::meta::List
Definition
core.h:5
libs
di
include
di
any
concepts
impl.h
Generated by
1.13.0