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

Unsigned integral constants are not EuclideanRings #311

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Nov 17, 2016

This PR is an attempt to fix #240. Unfortunately, this is a potentially breaking change, so it will have to wait until I'm ready to bump the major version. In addition, it introduces additional problems, like the fact that we can't write size_c<n> % size_c<k> (because they're not EuclideanRings), but we also can't write int_c<n> % size_c<k>, since they don't have the same signedness. This is very annoying, and all of this pushes me in the direction where I just want a dumb IntegralConstant concept with only syntactical requirements, no semantics.

When I'm ready to bump the major version (i.e. when we have a sufficiently large amount of breaking changes to make at once), I'll either close this PR (if I remove numeric concepts) or fix this PR and merge it.

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

Successfully merging this pull request may close these issues.

1 participant