cpp17_in_TTs icon indicating copy to clipboard operation
cpp17_in_TTs copied to clipboard

Byte type

Open rob-stewart opened this issue 6 years ago • 1 comments

I've never used a type with "byte" in its name except the one for Win32 APIs: BYTE. However, I have used char, uint8_t, etc., to mean a byte type. Having a byte_t would be better as it would be semantically correct and would be portable to any remaining platforms with non-8-bit bytes.

rob-stewart avatar Oct 10 '18 11:10 rob-stewart

Yep, it is a good idea. There real question is whether you find std::byte works as expected or not, and whether it suits your uses.

tvaneerd avatar Oct 10 '18 22:10 tvaneerd