mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 20:14:23 +08:00
I had to remove the MSVC implementation since it is not constexpr. https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/byteswap-uint64-byteswap-ulong-byteswap-ushort?view=msvc-170 But all major compilers understand the portable implementation is just a bswap: https://godbolt.org/z/oMnW3xsns Closes #1198 PiperOrigin-RevId: 734626285 Change-Id: Ibca79f408f225c894f3c2b95f7086f891627db9f