-
#include "tensorstore/util/result.h"
-
template <typename U>
friend bool tensorstore::Result<T>::operator==(const Result<T>& a,
const Result<U>& b); -
template <typename U>
friend bool
tensorstore::Result<T>::operator==(const Result<T>& a, const U& b); -
template <typename U>
friend bool
tensorstore::Result<T>::operator==(const U& a, const Result<T>& b); Compares two results for equality.
Two results are considered equal if:
they both contain error values that are equal; or
they both contain values that are equal; or
they both contain values of type
void
.