The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SumType.Types
std
sumtype
SumType
The types a
SumType
can hold.
import std.sumtype;
struct
SumType
(Types...)
alias
Types
=
AliasSeq
!(
ReplaceTypeUnless
!(
isSumTypeInstance
,
This
,
typeof
(this),
TemplateArgsOf
!
SumType
))
Meta
Source
See Implementation
std
sumtype
SumType
aliases
Types
constructors
this
destructors
~this
functions
opAssign
opEquals
toHash
toString
The types a SumType can hold.