The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TypeSet
mir
algebraic
Type set resolution template used to construct
Algebraic
.
template
TypeSet (
T
...
) {
template
staticSort
(alias cmp, items...)
via
import
std
.
meta
:
staticSort
,
staticMap
,
allSatisfy
,
anySatisfy
;
;
template
staticMap
(alias fun, args...)
via
import
std
.
meta
:
staticSort
,
staticMap
,
allSatisfy
,
anySatisfy
;
;
}
Meta
Source
See Implementation
mir
algebraic
aliases
Nullable
Variant
assumeOk
autoGetMember
autoMatch
autoMatchMember
autoVisit
getMember
match
matchMember
none
optionalGetMember
optionalMatch
optionalMatchMember
optionalVisit
some
suit
tryGetMember
tryMatch
tryMatchMember
tryVisit
visit
enums
algMeta
algTransp
algVerbose
reflectErr
functions
err
nullable
structs
Algebraic
This
templates
Err
NoneVariant
SomeVariant
TaggedVariant
TypeSet
ValueTypeOfNullable
isErr
isResultVariant
stripErr
visitImpl
variables
isLikeNullable
isLikeTaggedVariant
isLikeVariant
isNullable
isTaggedVariant
isTypeSet
isVariant
Type set resolution template used to construct Algebraic .