mirror of
https://github.com/microsoft/GSL.git
synced 2025-02-21 08:52:53 -05:00
C++17 defines `std::byte*` to have the same aliasing properties as `char*`. Hence, we mark it with the `__may_alias__` attribute under gcc and clang. Based on the fix by Martin Moene in byte-lite. Fixes #663