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 (
    !isInstanceOf!(Unexpected, T) &&
    !is(T == void)
    )
  2. void opAssign(E unexpectedValue)

Meta