phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Expected.this
nxt
expected
Expected
Construct from expected value
expectedValue.
this
(T expectedValue)
struct
Expected
(T, E = Exception)
@
trusted
this
()
(
auto
ref
T
expectedValue
)
if
(
!
is
(
T
==
Unexpected
!(
_
),
_
) &&
!
is
(
T
==
void
)
)
this
(Unexpected!E unexpectedValue)
Meta
Source
See Implementation
nxt
expected
Expected
constructors
this
functions
apply
empty
hasExpectedValue
opAssign
opEquals
popFront
valueOr
properties
front
Construct from expected value expectedValue.