34 Commits

Author SHA1 Message Date
50c05bddb3 refactor: format.h header file made deprecated 2025-06-20 09:06:49 +02:00
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
e90cffcbda refactor: text formatting library header files are no longer included in compat_macros.h 2024-06-10 22:04:41 +02:00
f770057052 refactor: IWYU updates 2024-04-25 19:33:03 +02:00
8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
63f97d3396 fix: improved text formatting in examples 2024-04-19 16:49:27 +01:00
fb8552b1d9 refactor: core-fmt and core-ostream modules merged with core 2024-01-06 08:51:01 +01:00
0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
7cb2099af5 feat: add module mp_units 2024-01-06 08:51:00 +01:00
b2423bfded feat: quantities can now be multiplied and divided by units 2023-09-29 21:40:24 -06:00
ba1f58af76 refactor: All the macros refactored to have MP_UNITS_ prefix 2023-06-21 18:05:21 +02:00
52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
03b58ee073 refactor: square and cubic are now functions (not variable templates) 2023-06-01 08:45:41 +02:00
52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
561fbf7c93 merge branch master 2023-05-26 13:53:52 +02:00
7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
859bc20fdc refactor: all examples refactored to use a simplified quantity creation 2023-02-08 21:47:48 -08:00
b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
2cf736a1e6 feat: preventing possible future units crash when using namespace std;
Resolves #317
2022-12-29 20:18:48 +01:00
6b72dd39c1 refactor: headers with system definitions moved to _systems_ subdirectory 2022-12-29 19:27:54 +01:00
97da55edfa refactor: the rest of the systems refactored for V2 2022-12-29 18:59:10 +01:00
b982921d27 refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
b50df22901 refactor: IWYU 2021-04-02 19:31:58 +02:00
1a5b4fc85e refactor: UDLs support switched off by default 2021-04-02 18:56:28 +02:00
37cfc53d1d refactor: IWYU applied to the source files
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
23720d055e refactor: Refactored the library file tree
Resolves #249
2021-03-16 09:32:28 +01:00
6e510b3a2a refactor: modules-like behavior for systems removed to improve broken compile-time
Reffers to #32
2020-09-13 00:11:02 +02:00
2a56438f1c refactor: file tree with systems defninitions refactored to limit ODR issues
Relates to #32 as with this commit we created something like modules for derived quantities
2020-09-11 18:11:25 +02:00
79558a6d72 refactor: systems defined in terms of SI moved under si namespace 2020-09-10 17:14:33 +02:00
9527b39005 refactor: 💥 q_* UDL renamed to _q_*
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
d4d5ad243c minor fix in fps example 2020-06-17 14:56:32 +02:00
a3a12229d9 foot_pound_second example slightly refactored 2020-06-16 17:44:32 +02:00
aa84dcb9ef added example and some more units to fps system 2020-06-16 15:14:46 +02:00