support flag_var<bitwise_operator>= .enum_flag
#20940
Labels
Feature Request
This issue is made to request a feature.
flag_var<bitwise_operator>= .enum_flag
#20940
Describe the feature
Currently, there is no support for
flag_var<bitwise_operator>=enum_flag
likeflag_var^= .enum_flag
andflag_var|=. enum_flag
operation.Use Case
flag_var^= .enum_flag
is shorthand forflag_var = flag_var ^ .enum_flag
Proposed Solution
Modify the
checker/infix.v
file to allow the working of<bitwise>=
for enum flags as a starting point.Other Information
No response
Acknowledgements
Version used
Latest
Environment details (OS name and version, etc.)
Not relevant
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: