Commits


Micah Kornfield authored and Wes McKinney committed 7e16ee43ccc
ARROW-4800: [C++] Introduce a Result<T> class - Mostly an adaptation of StatusOr from google/asylo (both header and unittests). - Demonstrate usage in ipc/writer* - If this PR is accepted I can do a follow-up PR to port over useful testing utilities. Author: Micah Kornfield <emkornfield@gmail.com> Author: emkornfield <emkornfield@gmail.com> Closes #4501 from emkornfield/error_or and squashes the following commits: 82e48c453 <Micah Kornfield> fix linter. Add unittest. aad79b183 <Micah Kornfield> rename to Return 1d7dbfbcd <Micah Kornfield> Use bkietz's suggestion. cleanup test d8e80431c <Micah Kornfield> fix compile errors cc626079c <Micah Kornfield> try non anonyous namespace 86e43ac89 <Micah Kornfield> export before 8a4b3ccf3 <Micah Kornfield> try explicit instantation for msvc f12f6d027 <Micah Kornfield> Revert "remove ARROW_EXPORT from test and try add link to gtest_main" 9581b05b1 <Micah Kornfield> remove ARROW_EXPORT from test and try add link to gtest_main 7a21e577a <Micah Kornfield> try exporting private test classes for appveyor 0b44389da <Micah Kornfield> fix format de9d2d0d9 <Micah Kornfield> remove duplicate code. fix format 504fcd7bf <emkornfield> Update cpp/src/arrow/error_or.h 31d9906c5 <Micah Kornfield> use vendored variant aa540da09 <Micah Kornfield> fix append 6f459a5f9 <Micah Kornfield> address review comments 7a1e54de4 <Micah Kornfield> Add Arrow export 2886733fb <Micah Kornfield> use ARROW_RETURN_NOT_OK f7ed04f00 <Micah Kornfield> address comments 3e2b3691a <Micah Kornfield> follow recommendation of docs for macro d5e43d034 <Micah Kornfield> ARROW-4800: Introduce an ErrorOr class