endian icon indicating copy to clipboard operation
endian copied to clipboard

endian_buffer::data() should use std::byte if using c++17 and above

Open Julien-Blanc-tgcm opened this issue 3 years ago • 0 comments

When using a c++17 compiler, we may take advantage of the strongly typed std::byte class instead of relying on the arithmetic type char, whether signed (prior to 1.72) or not (1.72 and above).

Since that would probably break client code, it could be an opt-in feature.

Julien-Blanc-tgcm avatar Mar 04 '21 10:03 Julien-Blanc-tgcm