[ https://issues.apache.org/jira/browse/ARROW-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796209#comment-16796209 ]
Micah Kornfield commented on ARROW-4800: ---------------------------------------- We should also port ASSIGN_OR_RETURN (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/status_macros.h#L203) when implementing this. > [C++] Create/port a StatusOr implementation to be able to return a status or > a type > ----------------------------------------------------------------------------------- > > Key: ARROW-4800 > URL: https://issues.apache.org/jira/browse/ARROW-4800 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Affects Versions: 0.14.0 > Reporter: Micah Kornfield > Priority: Minor > > Example from grpc: > https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/stubs/statusor.h -- This message was sent by Atlassian JIRA (v7.6.3#76005)