#include "tensorstore/util/result.h"
template <typename U>
  
requires std::is_constructible_v<T, U&&> &&
          
 std::is_convertible_v<U&&, T>
tensorstore::Result<T>::Result(U&v);

Constructs the contained value from a convertible value.

Note

This constructor is conditionally implicit if T is implicitly constructible from U.

Requires:

T is constructible from U and either T is U or T is not constructible from Result<U>.