Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gpderetta
on Nov 9, 2022
|
parent
|
context
|
favorite
| on:
Three new utility functions in C++23
The std::endian enum makes it very easy to find the native endianness.
a1369209993
on Nov 10, 2022
[–]
That's irrelevant, because there's nothing useful you can
do
with the native endianness (other than implement (load/store)_(big/little)_N for various combinations of options).
gpderetta
on Nov 10, 2022
|
parent
[–]
you can use it to implement native_to_be or native_to_le, it seems pretty useful to me. In fact, what can't it do?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: