Closed PokeJofeJr4th closed 2 months ago
Very nice piece of code!
The only thing missing is some mention in the documentation.
I'm not sure if I made the right call merging the assignment versions of the operators. Should we plan for a case where someone would want to derive BitAnd
but not BitAndAssign
?
FYI other than that, and a version increment, I believe this is ready to merge
I think you made the right call. I will release a new version with your changes ASAP.
Released as v0.16.0
This pull request will extend the macro syntax with optional lines of the form
impl BitOr;
to generate basic implementations for the common bitwise operators.