[ https://issues.apache.org/jira/browse/ARROW-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303654#comment-17303654 ]
Antoine Pitrou commented on ARROW-12004: ---------------------------------------- In case you want to be amused: even empty types can take space: https://en.cppreference.com/w/cpp/language/attributes/no_unique_address > [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)