Expected.opAssign

Assigns a value or error to an Expected.

Note: This is only allowed when default constructor is also enabled.

struct Expected(T, E = string, Hook = Abort)
void
opAssign
()
(
auto ref CT rhs
)
if (
!is(E == void) &&
(
!is(T == void)
)
)

Meta