Expected.this

Construct from expected value expectedValue.

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

Meta