Skip to content

Releases: Neargye/nameof

Nameof v0.10.4

31 Jan 14:40
Compare
Choose a tag to compare

Release v0.10.4

  • Add sep param to nameof_enum_flag
  • Add support big enum range
  • Fix noexcept

Nameof v0.10.3

30 Mar 16:22
Compare
Choose a tag to compare

Release v0.10.3

Nameof v0.10.2

04 Aug 13:38
Compare
Choose a tag to compare

Release v0.10.2

  • add nameof_enum_or
  • add nameof_member for mscv and c++20
  • fix vs2022 build (#34) (#38)
  • fix (#34)
  • fix (#39)

Nameof v0.10.1

21 Jun 17:53
Compare
Choose a tag to compare

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

12 Jan 08:42
7b5d24e
Compare
Choose a tag to compare

Release v0.10.0

  • Add way to switch std::string and std::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

06 Jun 11:31
Compare
Choose a tag to compare

Release v0.9.4

  • Add NAMEOF_TYPE_RTTI
  • Fix compiler checks

Nameof v0.9.3

30 Dec 14:38
Compare
Choose a tag to compare

Release v0.9.3

  • Fix some warnings.
  • nameof_type returns std::string_view and cache value.

Nameof v0.9.2

19 Oct 11:34
Compare
Choose a tag to compare

Release v0.9.2

  • Add documentation.

  • nameof and nameof_type returns nameof::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

02 Oct 13:46
Compare
Choose a tag to compare

Release v0.9.1

  • Less bin size and overhead reduction, thanks @rollbear

  • nameof and nameof_type return static_string convertible to std::string_view or std::string.

  • Add error msg unsupported compiler.

  • Marco NAMEOF_ENUM_SUPPORTED and NAMEOF_TYPE_SUPPORTED to check is compiler compatibility.

  • Fix type cast for unsigned enum.

Nameof v0.9.0

25 Jul 15:09
Compare
Choose a tag to compare

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.