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
Including both headers appears to result in a compiler error.
On Godbolt this appears to be a magic_enum requires enum implementation and valid max and min. (even though the default max and min should be sufficient, and it compiles fine as long as fmt/ranges.h isn't included)
On my local compiler with a more complex example, I get an ambiguous function error with the enum template showing as valid for a non-enum type (std:vector<std::byte>). I suspect this is closer to the actual error.
Here's the failing example: with both #include <fmt/ranges.h> and #include <magic_enum/magic_enum_format.hpp>, I get a compiler error.