Skip to content

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

@phprus

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.

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