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

checking that the enum is valid (not empty and not forward declaration) (#323)

This commit is contained in:
Daniil Goncharov 2023-12-16 17:00:00 +04:00 committed by GitHub
parent 41f674b061
commit e09f25780a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 74 additions and 20 deletions

View file

@ -194,10 +194,6 @@ Header-only C++17 library provides static reflection for enums, work with any en
* IOstream operator for enum
```cpp
using namespace magic_enum::ostream_operators; // out-of-the-box ostream operators for enums.
Color color = Color::BLUE;
std::cout << color << std::endl; // "BLUE"
using namespace magic_enum::ostream_operators; // out-of-the-box ostream operators for enums.
Color color = Color::BLUE;
std::cout << color << std::endl; // "BLUE"