Skip to content

WinReg v14.0.0 C++20 Header-only Stable Release

Choose a tag to compare

@GiovanniDicanio GiovanniDicanio released this 21 Oct 18:21
· 9 commits to master since this release
4383ab0

Release Notes for v14.0.0

  • The main theme of v14 is simplification: I dropped C++17 support, and as a result of that the code got simpler. For example: there are no more preprocessor #ifdefs to check whether the code is compiled in C++17 or C++20 mode; C++20 allows simpler default comparison code, std::in_range() simplifies the code in SafeCast.hpp, etc. Anyway, if you need code that can be compiled in C++17 mode, you can check the v12 branch.
  • #pragma once is now used instead of more verbose header guards.
  • Note that the code hardening features in getter methods against malformed registry data that were introduced in v12 are still present in this release.
  • Note on Windows XP compatibility: The code still uses the RegQueryValueExW() API, which is compatible with Windows XP; but I'm not promising to focus on Windows XP compatibility (e.g. I may add calls to other APIs that are not available in Windows XP). Moreover, the latest Visual Studio C++ toolset that supports Windows XP is v141_xp, from Visual Studio 2017 (also available in VS 2019). It has full C++14 support, partial C++17 support, but it does not support C++20 (which is required by this release).