#include "tensorstore/util/result.h"
const Ttensorstore::Result<T>::value() const& noexcept;
Ttensorstore::Result<T>::value() & noexcept;
const T&tensorstore::Result<T>::value() const&& noexcept;
T&tensorstore::Result<T>::value() && noexcept;

Checked value accessor.

Terminates the process if *this represents a failure state.

Pre:

has_value() == true