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 (
    !is(T == Unexpected!(_),
    _
    ) &&
    !is(T == void)
    )

Meta