[
https://issues.apache.org/jira/browse/ARROW-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303678#comment-17303678
]
Antoine Pitrou commented on ARROW-12004:
----------------------------------------
If you are interested, here is what I started doing:
https://gist.github.com/pitrou/6c4aa0994eeb4c5b93a49fbe979c7928
> [C++] Result<detail::Empty> is annoying
> ---------------------------------------
>
> Key: ARROW-12004
> URL: https://issues.apache.org/jira/browse/ARROW-12004
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: Weston Pace
> Priority: Major
>
> When I add a callback (using {{AddCallback}} or {{Then}}) to a {{Future<T>}},
> I would like the callback to take a {{Status}} rather than a
> {{Result<detail::Empty>}}.
> I managed to get this done for {{AddCallback}}, but {{Then}} is another pile
> of complication due to template hackery.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)