A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gulrak/filesystem/issues/79 below:

Expected constexpr on detail::EnableBitmask<Enum> operator...(Enum X, Enum Y) · Issue #79 · gulrak/filesystem · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4