Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The std::endian enum makes it very easy to find the native endianness.


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).


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: