You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/05/17 14:20:00 UTC

[jira] [Resolved] (ARROW-12004) [C++] Result is annoying

     [ https://issues.apache.org/jira/browse/ARROW-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Kietzman resolved ARROW-12004.
----------------------------------
    Resolution: Fixed

Issue resolved by pull request 10205
[https://github.com/apache/arrow/pull/10205]

> [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
>              Labels: async-util, pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> 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)