Skip to content

v3.1.0-beta

Pre-release
Pre-release

Choose a tag to compare

@nholthaus nholthaus released this 21 Jan 15:42

What's Changed

New Features:

  • Uplift to C++23
  • Alias template CTAD (meters length instead of meters<double> length)
  • ADL Improvements
  • SFINAE replaced by concepts where appropriate
  • NAN support
  • constexpr cmath functions
  • Many new units (jerk, radiometric units, etc)
  • unit constants (1.0 * km == kilometers(1.0))

Fixes:

  • ternary operator works as expected
  • cmake: Allow to use existing googletest package by @krf in #310
  • Fix compile error under GCC-12 by @krf in #309
  • MSVC-specific Empty Baseclass Optimization activation. by @Guillaume227 in #317
  • Fix mil definition by @ts826848 in #321
  • -Wshadow compilation warning fix - use -Wshadow for compiling tests by @Guillaume227 in #318
  • introduce UNIT_NO_LITERAL_SUPPORT directive by @Guillaume227 in #316

New Contributors

Full Changelog: v3.0.0.beta.2...v3.1.0-beta