Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Byte type #26

Open
rob-stewart opened this issue Oct 10, 2018 · 1 comment
Open

Byte type #26

rob-stewart opened this issue Oct 10, 2018 · 1 comment

Comments

@rob-stewart
Copy link

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.

@tvaneerd
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants