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

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

Antoine Pitrou created ARROW-12004:
--------------------------------------

             Summary: [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


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)