Expected.opEquals

Checks whether this Expected object and rhs contain the same expected value or error value.

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

Meta