mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
Algebraic.get
mir
algebraic
Algebraic
Defined if the first type is
typeof(null)
auto
get
()
struct
Algebraic
(_Types...)
static if
(
is(AllowedTypes[0] == typeof(null))
)
auto
get
()
(
)
if
(
allSatisfy
!(
isCopyable
,
AllowedTypes
[1..$]) &&
AllowedTypes.length
!= 2
)
inout
(
AllowedTypes
[
1
])
get
()
inout
(
AllowedTypes
[
1
])
get
[@property setter]
auto ref
get
()
template
get
(RetTypes...)
alias
get
(
Kind
kind
)
=
get
!(
AllowedTypes
[
kind
])
auto ref
get
()
bool
isNull
()
void
nullify
()
Meta
Source
See Implementation
mir
algebraic
Algebraic
aliases
AllowedTypes
_ID_
constructors
this
destructors
~this
enums
Kind
functions
_is
get
isNull
kind
nullify
opAssign
opCast
opCmp
opEquals
toHash
toString
trustedGet
postblits
this(this)
static functions
_void
variables
_identifier_
Defined if the first type is typeof(null)