You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/04/08 10:16:00 UTC

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

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

Antoine Pitrou updated ARROW-12004:
-----------------------------------
    Fix Version/s: 5.0.0

> [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
>             Fix For: 5.0.0
>
>
> 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)