node icon indicating copy to clipboard operation
node copied to clipboard

src: convert all endian checks to constexpr

Open tniessen opened this issue 9 months ago • 2 comments

This is finally possible in C++20 without having to rely on compiler-defined macros, assuming none of our supported platforms are mixed-endian.

Refs: https://github.com/nodejs/node/pull/44411

tniessen avatar May 14 '24 00:05 tniessen