Comments (2)
Sorted out, but I would still suggest adding this as a usage example:
void test() {
using magic_enum::ostream_operators::operator<<;
// Not the namespace.
std::cout << SomeEnum::Value1 << std::endl;
}
from magic_enum.
Thank you for issues and for offering a solution.
I'll look into this problem, and I'll update the examples and documentation.
P.S. I will be glad to receive PR :)
from magic_enum.
Related Issues (20)
- Help for magic_enum with large int (example provided) HOT 1
- magic_enum::containers::array initialization doesn't work with enum containing more than 128 enum values HOT 1
- CI: hash-pin sensitive workflows and use a Dependency-Update-Tool to update them
- Regression in PR #323 HOT 3
- std::format() and std::print() support?
- Enum Range limitation : is range more than UINT16_MAX possible HOT 3
- error: cannot convert magic_enum::detail::enable_if_t HOT 1
- getting wrong results HOT 2
- Using multiple string types HOT 2
- Incorrect reading enum HOT 2
- Is magic_enum supported on WindRiver VxWorks 7 SR 0640 LLVM/Clang 9.0.1 HOT 3
- enum_contains occur error when number excceed 127 HOT 2
- Cannot use `std::to_underlying` in `enum_for_each` if the value is declared via auto deduced type HOT 2
- did something happen to magic_enum::enum_for_each ? HOT 2
- Add test for module build HOT 1
- enum literals with values > 127 HOT 1
- error: declaration of ‘parent’ shadows a member of ‘magic_enum::containers::bitset<T>::reference_impl<magic_enum::containers::bitset<T>*>’ [-Werror=shadow] HOT 2
- [Feature request] add support for something like std::in_range for eums
- magic_enum::enum_name Fails on large enums HOT 1
- Support for C++11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magic_enum.