The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
VariantN.AllowedTypes
std
variant
VariantN
The list of allowed types. If empty, any type is allowed.
import std.variant;
struct
VariantN
(size_t maxDataSize, AllowedTypesParam...)
alias
AllowedTypes
=
This2Variant
!(
VariantN
,
AllowedTypesParam
)
Meta
Source
See Implementation
std
variant
VariantN
aliases
AllowedTypes
constructors
this
functions
opApply
opAssign
opBinary
opBinaryRight
opCmp
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
toHash
toString
properties
coerce
convertsTo
get
hasValue
length
peek
type
templates
allowed
The list of allowed types. If empty, any type is allowed.