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

Function ToResult

cpp/src/arrow/result.h:507–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505
506template <typename T, typename R = typename EnsureResult<T>::type>
507R ToResult(T t) {
508 return R(std::move(t));
509}
510
511template <typename T>
512struct EnsureResult {

Callers 15

DoGetAllMethod · 0.85
FileSourceFunction · 0.85
FileSourceMethod · 0.85
TestWithArrayFactoryMethod · 0.85
TestWithArrayFactoryMethod · 0.85
TestWithArrayFactoryMethod · 0.85
TestWithBatchFactoryMethod · 0.85
TestWithArrayFactoryMethod · 0.85
TestWithBatchFactoryMethod · 0.85

Calls

no outgoing calls

Tested by 10

DoGetAllMethod · 0.68
TestWithArrayFactoryMethod · 0.68
TestWithArrayFactoryMethod · 0.68
TestWithArrayFactoryMethod · 0.68
TestWithBatchFactoryMethod · 0.68
TestWithArrayFactoryMethod · 0.68
TestWithBatchFactoryMethod · 0.68