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

Expected constexpr on detail::EnableBitmask<Enum> operator...(Enum X, Enum Y) #79

Closed
phprus opened this issue Nov 15, 2020 · 2 comments
Closed
Assignees
Labels
available on master Fix is done on master branch, issue closed on next release bug Something isn't working
Milestone

Comments

@phprus
Copy link
Contributor

phprus commented Nov 15, 2020

Describe the bug
C++11 17.5.2.1.3 Bitmask types:
constexpr bitmask operator&(bitmask X, bitmask Y)
constexpr bitmask operator|(bitmask X, bitmask Y)
constexpr bitmask operator^(bitmask X, bitmask Y)
constexpr bitmask operator~(bitmask X)

To Reproduce
Using the perm_options operator... in a constexpr function results in a compilation error.

Expected behavior
Compiling without error.

@gulrak gulrak added the bug Something isn't working label Nov 15, 2020
@gulrak gulrak self-assigned this Nov 15, 2020
@gulrak
Copy link
Owner

gulrak commented Nov 15, 2020

Seems I missed that, thanks for reporting, will look into it. Just a few minutes too late for v1.3.8.

@gulrak gulrak added this to the v1.3.10 milestone Nov 15, 2020
@gulrak gulrak added the available on master Fix is done on master branch, issue closed on next release label Dec 26, 2020
@gulrak
Copy link
Owner

gulrak commented Dec 27, 2020

This is now part of release v1.3.10

@gulrak gulrak closed this as completed Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available on master Fix is done on master branch, issue closed on next release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants