Files
mp-units/example
Mateusz Pusz 0763cd79ea refactor: move utility-component headers under mp-units/utility/
The mp_units::utility representation types shipped from flat header paths
(mp-units/cartesian_vector.h, cartesian_tensor.h, random.h) while the
core-side utility headers (safe_int, constrained, representation) already
live under mp-units/utility/. Unify the layout so the include path mirrors
the mp_units::utility namespace:

- move cartesian_vector.h, cartesian_tensor.h, random.h into mp-units/utility/;
- keep deprecated forwarding headers at the old paths for the released
  cartesian_vector and random (a #warning plus an include of the new path);
- cartesian_tensor is new in 2.6.0, so it ships only at the new path;
- repoint all in-tree consumers (tests, example, docs) to the new paths so
  they do not trip the deprecation #warning under -Werror;
- update the Project Structure guide and the prose reference in
  quantity_arithmetics.

Verified full runtime + static suites on gcc-12/gcc-15 (headers) and
clang-16 (headers) / clang-21 (modules): 129906 assertions each.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 14:08:21 +02:00
..