Skip to content

Release v1.1.1: Fixing MSVC Compatibility with C++20 Detection

Choose a tag to compare

@ttheghost ttheghost released this 12 Nov 16:23
· 12 commits to main since this release

This patch release fixes a compilation issue on MSVC caused by the C++20 feature detection macro.

Details:

  • Updated the feature detection preprocessor guard:
#if _MSC_VER
#include <yvals.h>
#endif

#if __cplusplus >= 202002L || _HAS_CXX20
  • Ensures the library builds correctly on MSVC while maintaining compatibility with GCC and Clang.
  • No behavioral or API changes.