Skip to content

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

Closed

Description

@phprus

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.

Activity

  1. self-assigned this
    on Nov 15, 2020
  2. gulrak commented on Nov 15, 2020

    @gulrak
    Owner

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

  3. added this to the v1.3.10 milestone on Nov 15, 2020
  4. added a commit that references this issue on Nov 17, 2020
  5. gulrak commented on Dec 27, 2020

    @gulrak
    Owner

    This is now part of release v1.3.10

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

Metadata

Metadata

Assignees

Labels

available on masterFix is done on master branch, issue closed on next releasebugSomething isn't working

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions