expected ~master (2021-10-11T18:48:43Z)
Dub
Repo
Expected.value
expected
Expected
Undocumented in source. Be warned that the author may not have intended to support it.
inout
(
T
)
value
[@property getter]
T
value
[@property getter]
struct
Expected
(T, E = string, Hook = Abort)
@
property
ref
static if
(
!is(T == void)
)
static if
(!(
!isChecked!Hook
))
T
value
(
)
if
(
!
is
(
E
==
void
) &&
(
isVoidValueEnabled
!
Hook
||
!
is
(
T
==
void
)
)
)
Meta
Source
See Implementation
expected
Expected
constructors
this
destructors
~this
functions
opAssign
opCast
opEquals
popFront
toHash
postblits
this(this)
properties
empty
error
front
hasError
hasValue
value