You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/11/20 12:50:26 UTC

[I] [C++] APIs taking a `const vector&` argument should instead take a `span` [arrow]

pitrou opened a new issue, #44795:
URL: https://github.com/apache/arrow/issues/44795

   ### Describe the enhancement requested
   
   `arrow::util::span` (a backport of C++20 `std::span`) is more generally applicable than `std::vector`, so any public API currently accepting a `vector` const-ref argument should instead accept a `span` argument.
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] APIs taking a `const vector&` argument should instead take a `span` [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #44795: [C++] APIs taking a `const vector<T>&` argument should instead take a `span<const T>`
URL: https://github.com/apache/arrow/issues/44795


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] APIs taking a `const vector&` argument should instead take a `span` [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #44795:
URL: https://github.com/apache/arrow/issues/44795#issuecomment-2550691810

   Issue resolved by pull request 44796
   https://github.com/apache/arrow/pull/44796


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org