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