libd ~master (2021-08-29T21:20:58Z)
Dub
Repo
libd.meta.ctassert
libd
meta
Undocumented in source.
Members
Aliases
assertAllSatisfy
alias
assertAllSatisfy
(
alias
Condition
,
T
...)
=
ctassert
!(
allSatisfy
!(
Condition
,
T
),
"Not all parameters satisfy condition `"
~
__traits
(
identifier
,
Condition
) ~
"`"
)
Undocumented in source.
assertIsPartOfUnion
alias
assertIsPartOfUnion
(
UnionT
,
ValueT
)
=
ctassert
!(
isPartOfUnion
!(
UnionT
,
ValueT
),
"Type `"
~
ValueT
.
stringof
~
"` does not belong to union `"
~
UnionT
.
stringof
~
"`"
)
Undocumented in source.
Templates
ctassert
template
ctassert
(bool result, string error)
Undocumented in source.
Meta
Source
See Source File
libd
meta
modules
ctassert
traits