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

Add logical operators to BitmaskTools #26

Open
Sqeaky opened this issue May 15, 2018 · 1 comment
Open

Add logical operators to BitmaskTools #26

Sqeaky opened this issue May 15, 2018 · 1 comment
Milestone

Comments

@Sqeaky
Copy link
Member

Sqeaky commented May 15, 2018

Add more bitmask operations for the BitfieldTools. There should be an && and an || that return booleans.

 if( (YetAnotherBitField::A || BitFieldInstance)
    { /* Should exucute if BitFieldInstance has the A bit enabled*/ }
@Sqeaky Sqeaky added this to the 1.0 milestone May 15, 2018
@Sqeaky
Copy link
Member Author

Sqeaky commented May 15, 2018

Actually, I should rewrite these requirements when I am not sleep deprived, but in general other operations that return booleans is a decent idea for at least one operator.

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

No branches or pull requests

1 participant