Commit Graph

24 Commits

Author SHA1 Message Date
Mateusz Pusz
eeece8a356 feat: scaled_unit does not have a priority over derived_unit anymore
We want `pow<2>(mag<3600> * second)` to print `[3600 s]^2` and `42 * (mag<10> * metre) / (mag<20> * second)` to print `42 [10 m]/[20 s]`
2024-10-02 16:10:29 +02:00
Mateusz Pusz
3190d15eba feat: common_unit support added 2024-09-26 20:28:41 +02:00
Mateusz Pusz
dcab80525d refactor: 💥 common_XXX() functions renamed to get_common_XXX()
This is needed to release a name for `common_unit` type that is coming soon.
2024-09-24 09:36:59 +02:00
Mateusz Pusz
3671f64153 refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi> 2024-09-23 13:42:39 +02:00
Mateusz Pusz
45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
Mateusz Pusz
2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Mateusz Pusz
77625d63cb feat: 💥 unit_can_be_prefixed removed - from now on all named units can be prefixed
Resolves #604
2024-08-22 08:06:00 +02:00
Mateusz Pusz
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz
0653a2dbf7 fix: non-portable unit test removed 2024-07-12 18:46:26 +02:00
Mateusz Pusz
d341c166e1 fix: types ordering in one of the unit tests fixed 2024-07-12 18:31:54 +02:00
Mateusz Pusz
f73f924b80 refactor: small cleanup of unit_test.cpp 2024-07-12 17:49:09 +02:00
Mateusz Pusz
adbc77432e feat: all tags in the expression templates are now ordered by the type names
Resolves #499
2024-07-12 17:48:38 +02:00
Mateusz Pusz
1365d62293 refactor: degree Celsius and Fahrenheit symbols text now use Unicode codepoints 2024-07-02 11:43:53 +01:00
Mateusz Pusz
6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00
Mateusz Pusz
c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +02:00
Mateusz Pusz
e25364b3e0 refactor: not needed remove_reference_t and remove_cvref_t removed 2024-06-01 10:03:53 +02:00
Mateusz Pusz
ec287664ee refactor: some TODO comments resolved 2024-05-31 21:07:42 +02:00
Mateusz Pusz
c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz
f90a218705 refactor: 💥 ratio hidden as an implementation detail behind mag_ratio 2024-04-19 15:29:00 +01:00
Mateusz Pusz
fb97c2ea5a refactor: basic_symbol_text renamed to symbol_text 2024-03-18 23:12:39 +09:00
Mateusz Pusz
5ca9168381 feat: proper exports implemented for C++ modules 2024-02-23 21:09:17 +01:00
Mateusz Pusz
cb858f1e51 feat: ABI concerns resolved with introduction of u8 strings for symbols 2024-02-16 22:13:13 +01:00
Mateusz Pusz
96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz
0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00