The last of its kind
Pre-release
Pre-release
- (!) refactor:
common_quantity
,common_quantity_for
,common_quantity_point
,common_quantity_kind
, andcommon_quantity_point_kind
removed - (!) refactor:
named_derived_unit
removed as it was not used - (!) refactor:
derived_unit
renamed toderived_scaled_unit
- (!) refactor:
unit
renamed toderived_unit
- (!) refactor:
U::is_named
removed from the unit types and replaced withNamedUnit
concept - (!) refactor:
PrefixFamily
support removed - (!) refactor:
mi(naut)
renamed tonmi
- (!) refactor:
knot
unit helper renamed tokn
in FPS - (!) refactor:
knot
text symbol changed from"knot"
to"kn"
- refactor:
quantity
op+()
andop-()
reimplemented in terms ofreference
rather thenquantity
types - refactor(example):
glide_computer
now use dimensionless quantities withranged_representation
asrep
- feat: HEP system support added (thanks @RalphSteinhagen)
- feat:
floor()
,ceil()
, andround()
support added (thanks @hofbi) - feat:
std::format
support for compliant compilers added - feat: conversion helpers from
mp-units
tostd::chrono
types added - feat: math functions can now be safely used with user-defined types
- feat: conversion from
quantity_point
tostd::chrono::time_point
added - feat:
nautical_mile_per_hour
andknot
added tosi::international
system - (!) fix: add
quantity_point::origin
, likestd::chrono::time_point::clock
- fix: enable any prefixes for most of the named units (beside those that use prefixes already)
- fix:
hectare
definition fixed to be a prefixed version ofare
+ other units - fix: account for different dimensions in
quantity_point_cast
's constraint - fix: output stream operator now properly handles state
- fix:
fmt
algorithms were overconstrained withforward_iterator
- fix: CTAD for aliases fixed
- fix:
derived_ratio
calculation - fix:
fill_t
assignment operator fixed - fix: improve downcast mode off
- fix:
radioactivity
header compilation fixed - fix:
si::hep::dim_momentum
duplicated definition fixed - fix:
fps
can now coexist withinternational
system - fix: public headers fixed to be standalone
- test: standalone public headers tests added
- (!) build: CMake generator in Conan is no longer obtained from an environment variable
- (!) build: Required Conan version bumped to 1.48
- (!) build: Conan 1.48 does not set
CMAKE_BUILD_TYPE
in theconan_toolchain.cmake
anymore - build: AppleClang 13 support added (thanks @fdischner)
- build: most of the
conanfile.py
refactored to be Conan 2.0 ready - build:
validate()
replaced withconfigure()
to raise errors duringconan install
in Conan 1.X - build: minimum Conan version changed to 1.40
- build:
linear-algebra
Conan repo is no needed anymore - build: Gitpod support added
- build: clang-format-15 support added
- build: export config to local build (#322)
- build: fix export name of
mp-units-system
- build: fmt updated to 8.0.1
- build: gsl-lite updated to 0.40.0
- build: catch2 updated to 2.13.9
- build: doxygen updated to 1.9.4
- build: linear_algebra/0.7.0 switched to wg21-linear_algebra/0.7.2
- ci: VS2022, gcc-11, clang-13, clang-14, and AppleClang 13 support added
- ci: pre-commit support added (thanks @hofbi)
- docs: Project documentation updated
- docs:
CITATION.cff
file added - docs:
CONTRIBUTING.md
updated