You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://raw.githubusercontent.com/Neargye/magic_enum/master/include/magic_enum.hpp:653:3: error: static_assert failed due to requirement 'detail::count_v<test<int>::Color, false> > 0' "magic_enum requires enum implementation and valid max and min."
The above code works in GCC though.
The problem seems to appear when the enum is inside a templated class.
The text was updated successfully, but these errors were encountered:
fatal-err
changed the title
Clang Defect
Clang Defect with enums inside a templated class
Nov 25, 2020
There's a problem with (even the current trunk version) of clang with this code:
https://godbolt.org/z/KWWE1f
The above code works in GCC though.
The problem seems to appear when the enum is inside a templated class.
The text was updated successfully, but these errors were encountered: