| 600 | |
| 601 | template <class T> |
| 602 | bool Maybe<T>::operator==(const Maybe& other) const { |
| 603 | return (IsJust() == other.IsJust()) && |
| 604 | (!IsJust() || Unwrap() == other.Unwrap()); |
| 605 | } |
| 606 | |
| 607 | template <class T> |
| 608 | bool Maybe<T>::operator!=(const Maybe& other) const { |
no test coverage detected