Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12004

[C++] Result<detail::Empty> is annoying

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h