Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-44898: [C++] Fix compilation error on GCC 8 (apache#44899)
### Rationale for this change The `span` implementation featured a complicated SFINAE construct to enable the `span(range...)` constructor, which failed compiling on gcc 8.x. ### What changes are included in this PR? Replace this complicated SFINAE with a much simpler one that avoids the recursive `span` template dependency while keeping the intended semantics. ### Are these changes tested? Yes, by existing tests. ### Are there any user-facing changes? No. * GitHub Issue: apache#44898 Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information