mirror of
https://github.com/microsoft/GSL.git
synced 2026-07-10 02:20:57 +02:00
d6b26b367b
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