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

const impls please? #7

Open
xNxExOx opened this issue Mar 20, 2021 · 3 comments
Open

const impls please? #7

xNxExOx opened this issue Mar 20, 2021 · 3 comments

Comments

@xNxExOx
Copy link

xNxExOx commented Mar 20, 2021

Would it be possible to optionally or automagically add const to the impls?
Rigt now I need to replace many of impl_op_ex! with handwritten impls to add the const :(

@carbotaniuman
Copy link
Owner

Afaik const impls are not actually a thing yet?

@xNxExOx
Copy link
Author

xNxExOx commented Mar 20, 2021

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=f7b57d992bf3c7e1cc392e82eb4e8d3d playground does not agree with you, they just need a features enabled, so opt in would be required (to not force nightly on everyone).

@carbotaniuman
Copy link
Owner

carbotaniuman commented Mar 21, 2021

Alright, I'll figure out how to get the macros to work.

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