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)
struct
Expected
(T, E = string, Hook = Abort)
@
disable
immutable
static if
(!(
isCopyable!T
))
this
(
immutable
(
T
)
val
)
if
(
!
is
(
E
==
void
)
)
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)
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