expected ~master (2021-10-11T18:48:43Z)
Dub
Repo
Expected.this
expected
Expected
Undocumented in source.
this
(CT val)
this
(E val, bool success)
this
()
struct
Expected
(T, E = string, Hook = Abort)
@
disable
static if
(
!is(T == void) && !isDefaultConstructorEnabled!Hook
)
this
(
)
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