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

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

Open
Julien-Blanc-tgcm opened this issue Mar 4, 2021 · 0 comments

Comments

@Julien-Blanc-tgcm
Copy link

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.

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

1 participant