| 591 | |
| 592 | template <class T> |
| 593 | bool Maybe<T>::UnwrapTo(T* out) const { |
| 594 | if (IsJust()) { |
| 595 | *out = _value; |
| 596 | return true; |
| 597 | }; |
| 598 | return false; |
| 599 | } |
| 600 | |
| 601 | template <class T> |
| 602 | bool Maybe<T>::operator==(const Maybe& other) const { |
no outgoing calls