expected v0.1.0 (2019-05-06T19:12:13Z)
Dub
Repo
Expected.this
expected
Expected
Undocumented in source.
this
(T val)
this
(const(T) val)
this
(immutable(T) val)
this
(const(T) val)
this
(immutable(T) val)
this
(E val, bool success)
this
(const(E) val, bool success)
this
(immutable(E) val, bool success)
this
(const(E) val, bool success)
this
(immutable(E) val, bool success)
struct
Expected
(T, E = string, Hook = Abort)
@
disable
immutable
static if
(
Types.length == 1 && !is(T == void)
)
static if
(!(
isCopyable!E
))
this
(
immutable
(
E
)
val
,
bool
success
)
if
(
!
is
(
E
==
void
)
)
this
()
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