auto_ops icon indicating copy to clipboard operation
auto_ops copied to clipboard

const impls please?

Open xNxExOx opened this issue 4 years ago • 3 comments

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 :(

xNxExOx avatar Mar 20 '21 10:03 xNxExOx

Afaik const impls are not actually a thing yet?

carbotaniuman avatar Mar 20 '21 14:03 carbotaniuman

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).

xNxExOx avatar Mar 20 '21 14:03 xNxExOx

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

carbotaniuman avatar Mar 21 '21 17:03 carbotaniuman