mp-units breaking changes
mp-units 2.0.0 is its newest release with breaking changes, 9 of them. The first: Removed ceil. Every breaking API change we have recorded in mp-units on vcpkg: 35 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.0. Source repository
- From 0.8.0 to 2.0.0: 9 breaking changes in 1 version.
- From 0.7.0 to 2.0.0: 22 breaking changes in 2 versions.
mp-units 2.0.0 breaking changes
- Removed
ceil
The release notes call ceil and floor dangerous; code relying on them may need changes. github.com - Removed
downcasting facility
The downcasting facility is removed and no replacement is named. github.com - Removed
quantity_kind
The quantity_kind type is gone; use the new quantity_spec and reference model instead. github.com - Renamed
<units.>
Headers are now included from <mp-units/...> instead of <units/...>. github.com - Renamed
units
Code using the units namespace must switch to mp_units. github.com - Behavior changed
quantity
quantity is now parameterized by a reference aggregating quantity_spec, unit and representation. github.com - Behavior changed
quantity_point
quantity_point can no longer be built from just a quantity; an explicit PointOrigin is always needed. github.com - Behavior changed
quantity.in
Unit conversion with .in(Unit) and .force_in(Unit) is reworked for quantity and quantity_spec. github.com - Behavior changed
quantity.numerical_value_in
numerical_value_in and force_numerical_value_in replace the older accessor behavior. github.com
mp-units 0.8.0 breaking changes
- Removed
common_quantity
The common_quantity, common_quantity_for, common_quantity_point, common_quantity_kind and common_quantity_point_kind helpers were removed. Code using them must be updated. github.com - Removed
named_derived_unit
named_derived_unit was removed because it was not used. github.com - Removed
PrefixFamily
PrefixFamily support was removed. github.com - Removed
U.is_named
U::is_named was removed from the unit types and replaced with the NamedUnit concept. github.com - Renamed
derived_unit
derived_unit was renamed to derived_scaled_unit. github.com - Renamed
knot
The knot unit helper in FPS was renamed to kn. github.com - Renamed
mi
The nautical mile unit mi(naut) was renamed to nmi. github.com - Renamed
unit
The unit type was renamed to derived_unit. github.com - Behavior changed
knot
The text symbol of knot changed from knot to kn, which changes printed output. github.com - Behavior changed
quantity_point.origin
quantity_point::origin was added, like std::chrono::time_point::clock; this is marked as a breaking change. github.com
And 3 more in this version. Sign up to see every change
mp-units 0.7.0 breaking changes
- Removed
noble_derived_unit
noble_derived_unit is removed. Code using it must be changed. github.com - Removed
one_rep
one_rep is replaced by reference<D, U>. Update code that uses it. github.com - Renamed
*deduced_unit
Names ending in deduced_unit are renamed to derived_unit. github.com - Renamed
BUILD_DOCS
The CMake option BUILD_DOCS is renamed to UNITS_BUILD_DOCS. github.com - Renamed
data
The data system is renamed to isq::iec80000, and quantity names change too. github.com - Renamed
quantity.count
quantity::count() is renamed to quantity::number(). Update calls to the new name. github.com - Renamed
ScalableNumber
ScalableNumber is renamed to Representation. Update code that refers to the old name. github.com - Behavior changed
The library file layout changed, so include paths may need updating. github.com - Behavior changed
Output stream operators now live in units/quantity_io.h. Code that relies on them must include that header. github.com - Behavior changed
dim_torque
dim_torque now divides by an angle instead of multiplying, and its default unit name changed. github.com
And 3 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.