[ 
https://issues.apache.org/jira/browse/ARROW-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795000#comment-16795000
 ] 

Antoine Pitrou commented on ARROW-4800:
---------------------------------------

What is the cost of unboxing the value with such a scheme? Say I have a 
{{StatusOr<std::vector<something>>}}, can we avoid copying the vector when 
getting its value?

> [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)

Reply via email to