Skip to content

v0.1.2

Latest

Choose a tag to compare

@Snowflyt Snowflyt released this 05 Aug 09:57
· 4 commits to main since this release

What’s New in v0.1.2

✨ New Feature: Support for types with existing ostream &operator<<

  • Automatic support for types with existing stream operators (i.e., std::ostream &operator<<). (5559b46)
  • Custom .inspect() method takes precedence over operator<< when both are available.

🎯 Enhanced Type Support

  • Error-related types: Support for std::exception, std::exception_ptr, std::error_code, and std::error_condition with proper type names and messages. (b1c4a76)
  • std::chrono types: Full support for durations, time points, calendar types with proper formatting. (5ad4088)
  • nullptr_t: Proper null pointer display support. (8284bc8)
  • std::reference_wrapper: Treated transparently without pointer prefix. (101b349)
  • std::atomic: Transparently displayed like std::reference_wrapper, e.g., std::atomic<int>{42} shows as 42. (172af69)
  • std::span: Displayed as <size>[items...] format. (c90aaa0)
  • std::valarray: Displayed as valarray(size) [item1, item2, ...]. (327195a)
  • std::byte: Shows as <value> (<hex_value>), e.g., 42 (0x2a). (0d4fde5)
  • std::vector<bool>: Special handling with [bits...] format like std::bitset. (0d4fde5)
  • std::bitset<N>: Displayed as <N>[bits...], e.g., <8>[00000010]. (0d4fde5)

🐞 Bug Fixes

  • Compatibility improvements: Enhanced field reflection for better old compiler compatibility. (e9443a4)
  • PMR string support: Dropped due to compatibility issues with older compilers. (79fdceb)
  • Cross-compiler support: Various fixes for better GCC/Clang/MSVC compatibility. (f245bb8, e9443a4)