[ https://issues.apache.org/jira/browse/ARROW-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419243#comment-16419243 ]
Phillip Cloud edited comment on ARROW-2364 at 3/29/18 3:59 PM: --------------------------------------------------------------- Iterators are also another common modern C++ pattern that support both vectors, pointers, and a host of other containers. At some point we'll probably want a {{span<T>}} container that is essentially a C++ iterator-interface-compatible pointer-plus-length abstraction. Things like a slice of a string not owned by the caller become much easier to deal with. was (Author: cpcloud): Iterators are also another common modern C++ pattern that support both vectors, pointers, and a host of other containers. At some point we'll probably want a `span<T>` container that is essentially a C++ iterator-interface-compatible pointer-plus-length abstraction. Things like a slice of a string not owned by the caller become much easier to deal with. > [Plasma] PlasmaClient::Get() could take vector of object ids > ------------------------------------------------------------ > > Key: ARROW-2364 > URL: https://issues.apache.org/jira/browse/ARROW-2364 > Project: Apache Arrow > Issue Type: Wish > Components: Plasma (C++) > Affects Versions: 0.9.0 > Reporter: Antoine Pitrou > Priority: Major > > It would be mode modern C++ than taking a raw pointer + number of elements. -- This message was sent by Atlassian JIRA (v7.6.3#76005)