node icon indicating copy to clipboard operation
node copied to clipboard

src: convert all endian checks to constexpr

Open tniessen opened this issue 1 year 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

CI: https://ci.nodejs.org/job/node-test-pull-request/59255/

nodejs-github-bot avatar May 16 '24 19:05 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/59291/

nodejs-github-bot avatar May 18 '24 18:05 nodejs-github-bot

Landed in 177b8b957ba8f84373af1ff2a3baed943d1a8e08

nodejs-github-bot avatar May 25 '24 09:05 nodejs-github-bot