tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
templateAnd.templateAnd
tanya
meta
metafunction
templateAnd
Undocumented in source.
template
templateAnd
(Preds...)
template
templateAnd (
T
...
) {
static if
(
Preds.length == 0
)
enum
bool
templateAnd
;
alias
templateAnd
=
Instantiate
!(.
templateAnd
!(
Preds
[
1
..$]),
T
)
;
static if
(!(
Preds.length == 0
))
static if
(!(
Instantiate!(Preds[0], T)
))
enum
bool
templateAnd
;
}
Members
Aliases
templateAnd
alias
templateAnd
=
Instantiate
!(.
templateAnd
!(
Preds
[
1
..$]),
T
)
Undocumented in source.
Variables
templateAnd
enum
bool
templateAnd
;
Undocumented in source.
templateAnd
enum
bool
templateAnd
;
Undocumented in source.
Meta
Source
See Implementation
tanya
meta
metafunction
templateAnd
templates
templateAnd