C++ Standard way of reversing order of bits in a number

前端 未结 0 677
梦谈多话
梦谈多话 2020-12-08 11:47

_byteswap_uint64, _byteswap_ulong, and _byteswap_ushort work with MSVC and GCC but not on Clang. Is there a standard way of reversing the bits in a number?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题