1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00

fix installing via cmake (#374)

This commit is contained in:
Arni 2024-10-14 15:05:55 +00:00 committed by GitHub
parent 9675f2bc29
commit a72a0536c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 478 additions and 186 deletions

View file

@ -23,8 +23,8 @@
#include <iostream>
#include <string>
#include <magic_enum.hpp>
#include <magic_enum_iostream.hpp>
#include <magic_enum/magic_enum.hpp>
#include <magic_enum/magic_enum_iostream.hpp>
enum class AnimalFlags : std::uint64_t { HasClaws = 1 << 10, CanFly = 1 << 20, EatsFish = 1 << 30, Endangered = std::uint64_t{1} << 40 };
// Add specialization `is_flags` to define that enum are flags.