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

Tags as NTTPs #797

Open
johnmcfarlane opened this issue Mar 13, 2021 · 1 comment
Open

Tags as NTTPs #797

johnmcfarlane opened this issue Mar 13, 2021 · 1 comment
Labels

Comments

@johnmcfarlane
Copy link
Owner

E.g.:

scaled_integer<int, power{-16}>

This must wait for the release of Clang 12: Clang/GCC, MSVC.

@johnmcfarlane
Copy link
Owner Author

Alternatively, keep tags as types, and store them alongside rep with no-addressable attribute. Could be used to extend overflow_integer to solve this problem: boostorg/safe_numerics#129

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

No branches or pull requests

1 participant