Expected.opAssign

Assign from expected value expectedValue.

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

Meta