Releases: Neargye/nameof
Nameof v0.10.4
Nameof v0.10.3
Release v0.10.3
- Add
nameof_pointer
#59 - Fix nameof_member #52 #49 #46
- Fix build nameof_enum on clang-16(Neargye/magic_enum#204)
- Fix VS2022 IntelliSence Error (Neargye/magic_enum#198)
Nameof v0.10.2
Nameof v0.10.1
Release v0.10.1
- Add
nameof_member
- Fix warning (#31)
- Fix std::array in some cases is missing constexpr on some of it's functions
- Fix hard error if enum is empty or non-reflected
- Fix using leak
Nameof v0.10.0
Release v0.10.0
- Add way to switch
std::string
andstd::string_view
to custom type - Add syntax for defining custom enum and type names
- Add NAMEOF_ENUM_FLAG
- Add NAMEOF_SHORT_TYPE
- Add NAMEOF_TYPE_RTTI, NAMEOF_FULL_TYPE_RTTI, NAMEOF_SHORT_TYPE_RTTI
- Add NAMEOF_OPT_INSTALL option in CMakeLists.txt
- Add detect values out of range: checks for a value at (range_min - 1) and (range_max + 1) and fails compilation with a static_assert if any value is found.
- Fix hangs Intellisense
- Fix compiler check
- Fix build error in gcc
- Fix build msvc with clang
- Fix build error in clang
- [breaking changes] enum_range moved to namespace magic_enum::customize
Nameof v0.9.4
Release v0.9.4
- Add
NAMEOF_TYPE_RTTI
- Fix compiler checks
Nameof v0.9.3
Release v0.9.3
- Fix some warnings.
nameof_type
returnsstd::string_view
and cache value.
Nameof v0.9.2
Release v0.9.2
-
Add documentation.
-
nameof
andnameof_type
returnsnameof::cstring
- constexpr implementation of an string. -
Fix
nameof_enum
cvref regression. -
Fix
nameof_enum
bug signed casts to unsigned in min()/max(). -
Fix
nameof_enum
calculate reflected range. -
Improving
nameof_enum
compile times.
Nameof v0.9.1
Release v0.9.1
-
Less bin size and overhead reduction, thanks @rollbear
-
nameof
andnameof_type
returnstatic_string
convertible tostd::string_view
orstd::string
. -
Add error msg unsupported compiler.
-
Marco
NAMEOF_ENUM_SUPPORTED
andNAMEOF_TYPE_SUPPORTED
to check is compiler compatibility. -
Fix type cast for unsigned enum.
Nameof v0.9.0
Release v0.9.0
-
Fix build fail with sanitize, see Neargye/magic_enum#6
-
Fix implicit conversion changes signedness.
-
Improving compile times.
-
[breaking changes]
nameof_type
return name same as typeid.
NAMEOF_TYPE
- obtains string name of type, reference and cv-qualifiers are ignored. -
[breaking changes] Rename NAMEOF_VAR_TYPE to NAMEOF_TYPE_EXPR.
NAMEOF_TYPE_EXPR
- obtains string name type of expression, reference and cv-qualifiers are ignored. -
Add
nameof_full_type
.
NAMEOF_FULL_TYPE
- obtains string name of full type, with reference and cv-qualifiers.
NAMEOF_FULL_TYPE_EXPR
- obtains string name full type of expression, with reference and cv-qualifiers.