Expected.opEquals

Undocumented in source.
struct Expected(T, E = Exception)
const
@trusted =>
_ok == rhs._ok &&
(_ok ? _expectedValue == rhs._expectedValue : _unexpectedValue == rhs._unexpectedValue)
bool
opEquals
(
const scope typeof(this) rhs
)
if (
!isInstanceOf!(Unexpected, T) &&
!is(T == void)
)

Meta