MCPcopy Create free account
hub / github.com/apache/arrow / As

Method As

cpp/src/arrow/result.h:424–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 template <typename U, typename E = typename std::enable_if<
423 std::is_constructible<U, T>::value>::type>
424 Result<U> As() && {
425 if (!ok()) {
426 return std::move(*this).status();
427 }
428 return U(MoveValueUnsafe());
429 }
430
431 /// Cast the internally stored value to produce a new result or propagate the stored
432 /// error.

Callers

nothing calls this directly

Calls 3

okFunction · 0.85
statusFunction · 0.85
statusMethod · 0.45

Tested by

no test coverage detected