chakkk309 opened a new pull request, #48615:
URL: https://github.com/apache/arrow/pull/48615
### Rationale for this change
Replace custom `arrow::util::span` implementation with C++20 `std::span`
as suggested in issue #48588. This modernizes the codebase and removes ~130
lines of custom code.
### What changes are included in this PR?
* Removed `src/arrow/util/span.h` (custom span implementation)
* Replaced all `arrow::util::span<T>` usage with `std::span<T>` (95
occurrences)
* Updated all `#include "arrow/util/span.h"` to `#include <span>` (41
files)
* Modified span tests to use std namespace
### Are these changes tested?
Yes - created comprehensive tests verifying std::span compatibility with
all original arrow::util::span functionality including construction, subspan,
element access, and byte conversion.
### Are there any user-facing changes?
No user-facing changes.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]