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

[C++] Add static ctor ArrayData::Make for nicer syntax in places

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: C++

      Description

      Because of the fickleness of std::make_shared, we are having to store a vector of buffers in an lvalue rather than passing the buffers in the make_shared function call as an initializer list. This makes things a bit awkward, and could be made possibly better with a factory function

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                wesmckinn Wes McKinney
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: