Comments (2)
Reproduced it with a smaller enum of size uint8_t with NAMEOF_ENUM_RANGE_MIN 0 and NAMEOF_ENUM_RANGE_MAX 4096. It seems to not like when the first bit is a 1. Some problem with the signedness. This should be a valid use case
enum Test : uint8_t
{
First = 0,
//...
Last = 0xFF,
}
from nameof.
fixed in master, will be in next release
from nameof.
Related Issues (20)
- Is it possible to get the method name which is passed by argument. HOT 1
- x86 msvc v19.27 static code analysis warning C28020 after updating nameof.hpp to v0.10.0 HOT 5
- Add nameof of a member variable through its pointer to member
- Add AUR install guide
- Error C2338: static_assert failed: 'nameof::nameof_enum requires enum implementation and valid max and min.' HOT 7
- add MSVC member pointer name in c++20 HOT 5
- NAMEOF_ENUM compiled failed with MSVC 17.2.2 HOT 3
- Incompatibility with CppUTest MemoryLeakDecector Malloc Macros HOT 3
- NAMEOF_ENUM Out-of-Range Fallback to Type and Numerical Display HOT 3
- Comparison with magic_enum HOT 1
- Using nameof_member on a rhs of member copy initialization fails to compile on MSVC HOT 1
- Requirement of C++20 mode for nameof_member on MSVC is undocumented. HOT 3
- Using nameof_member on structures with non-constexpr destructor fails to compile on MSVC HOT 3
- why 'NAMEOF_ENUM' generate an empty name for enum with underlying_type's max value HOT 1
- Compiling failed with mscv 19.34 HOT 7
- [Feature] Add `NAMEOF_POINTER`
- can support parse string to enum ? HOT 1
- I can't compile (C2131) when NAMEOF_ENUM_RANGE_MAX >= 3590 HOT 3
- is nameof fast? 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 nameof.