Expected.this

Construct from unexpected value unexpectedValue.

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

Meta