bkietz opened a new issue, #36123: URL: https://github.com/apache/arrow/issues/36123
### Describe the bug, including details regarding any error messages, version, and platform. The standard states that accessing bytes of an object through a type other than `char`, `unsigned char`, or `std::byte` is undefined behavior. However in arrow we mostly use `uint8_t` when examining bytes. It'd be more correct to replace such occurrences with `std::byte`, and will guard against future surprises if (for example) a new optimization pass leverages this strict aliasing rule in a way that will break our code. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
