mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
feat: added unit symbols for m2
, m3
, and s2
This commit is contained in:
@@ -637,4 +637,9 @@ inline constexpr auto min = minute;
|
||||
inline constexpr auto h = hour;
|
||||
inline constexpr auto d = day;
|
||||
|
||||
// commonly used squared and cubic units
|
||||
inline constexpr auto m2 = square<metre>;
|
||||
inline constexpr auto m3 = cubic<metre>;
|
||||
inline constexpr auto s2 = square<second>;
|
||||
|
||||
} // namespace units::si::unit_symbols
|
||||
|
Reference in New Issue
Block a user