libd.meta.ctassert

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