Expected.opEquals

Checks whether this Expected object contains a specific expected value.

* opEquals for the value is available only when T != void. * opEquals for the error isn't available, use equality test for Expected in that case.

  1. bool opEquals(T rhs)
    struct Expected(T, E = string, Hook = Abort)
    const
    static if(!is(T == void))
    static if(!isChecked!Hook)
    bool
    opEquals
    ()
    (
    const auto ref T rhs
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )
  2. bool opEquals(T rhs)
  3. bool opEquals(Expected!(T, E, Hook) rhs)
  4. bool opEquals(Expected!(T, E, Hook) rhs)

Meta