Expected.opAssign

Assign from unexpected value unexpectedValue.

  1. void opAssign(T expectedValue)
  2. void opAssign(E unexpectedValue)
    struct Expected(T, E = Exception)
    @trusted
    void
    opAssign
    if (
    !is(T == Unexpected!(_),
    _
    ) &&
    !is(T == void)
    )

Meta