Mateusz Pusz
|
1365d62293
|
refactor: degree Celsius and Fahrenheit symbols text now use Unicode codepoints
|
2024-07-02 11:43:53 +01:00 |
|
Mateusz Pusz
|
e41078b889
|
fix: MP_UNITS_API_NO_CRTP handling fixed
|
2024-07-02 11:07:49 +01:00 |
|
Mateusz Pusz
|
ba8681f90b
|
feat: 💥 delta and absolute construction helpers
|
2024-06-30 12:03:24 +02:00 |
|
Mateusz Pusz
|
90d8fda327
|
feat: qp1.quantity_from(qp2) added
|
2024-06-25 14:07:08 -05:00 |
|
Mateusz Pusz
|
4b46be7604
|
refactor: reference specifiers are now variable templates
|
2024-06-20 09:20:33 +02:00 |
|
Mateusz Pusz
|
b38b23ece2
|
refactor: relative() renamed to delta()
|
2024-06-20 07:31:22 +02:00 |
|
Mateusz Pusz
|
dfac87c631
|
feat: multiply syntax support to create quantity_point
|
2024-06-19 21:11:16 +02:00 |
|
Mateusz Pusz
|
d03482fa1b
|
feat: absolute and relative reference modifiers support added
|
2024-06-19 21:10:16 +02:00 |
|
Mateusz Pusz
|
b113f6ad0e
|
Merge branch 'master' into feature/more-value-casts
|
2024-06-14 21:44:19 +09:00 |
|
Mateusz Pusz
|
f49b4c6f5f
|
refactor: compile-time optimizations reverted
|
2024-06-14 13:37:56 +02:00 |
|
Mateusz Pusz
|
05fc1e29c8
|
refactor: 💥 from now on point origins must be marked final + absolute_point_origin does not use CRTP anymore
|
2024-06-13 19:24:40 +02:00 |
|
Mateusz Pusz
|
5f67523a8a
|
feat: 💥 from now on quantity specifications have to be marked as final
|
2024-06-13 12:05:16 +02: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
|
0fbe0bb5e0
|
style: clang-format
|
2024-06-10 22:13:37 +02:00 |
|
Mateusz Pusz
|
e90cffcbda
|
refactor: text formatting library header files are no longer included in compat_macros.h
|
2024-06-10 22:04:41 +02:00 |
|
Mateusz Pusz
|
e38c7c4460
|
refactor: magnitudes support refactored to improve compile-times
|
2024-06-06 20:58:15 +02:00 |
|
Mateusz Pusz
|
3c97f2e611
|
style: clang-format
|
2024-06-06 14:07:29 +02:00 |
|
Mateusz Pusz
|
c69bd140b2
|
refactor: all units made final
|
2024-06-06 13:18:45 +02:00 |
|
Mateusz Pusz
|
4aea85656b
|
refactor: units no longer inherit from each other
|
2024-06-06 13:16:13 +02:00 |
|
Mateusz Pusz
|
fb77585593
|
refactor: system's units do not inherit from one another anymore
Resolves #512
|
2024-06-05 08:16:02 +02:00 |
|
Yves Delley
|
7589ba6ce6
|
Merge branch 'master' into feature/more-value-casts
|
2024-06-03 20:22:23 +02:00 |
|
Yves Delley
|
b6df881134
|
added more testing of conversion accuracy when using integral types
|
2024-06-02 11:09:46 +02:00 |
|
Yves Delley
|
4b809ec96c
|
Merge branch 'master' into feature/more-value-casts
|
2024-06-02 08:03:30 +02:00 |
|
Mateusz Pusz
|
2adc9344ea
|
refactor: some TODO comment addressed or removed
|
2024-06-01 13:36:22 +02:00 |
|
Mateusz Pusz
|
1c5b8de627
|
refactor: more workarounds for gcc-12
|
2024-06-01 13:03:20 +02:00 |
|
Mateusz Pusz
|
16493ee99a
|
style: clang-format
|
2024-06-01 10:08:19 +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
|
1ea2df9209
|
refactor: most std::remove_const_t removed and some replaced with the GCC-specific workaround
|
2024-06-01 09:12:16 +02:00 |
|
Mateusz Pusz
|
ec287664ee
|
refactor: some TODO comments resolved
|
2024-05-31 21:07:42 +02:00 |
|
Mateusz Pusz
|
a874d64301
|
fix: incorrect CMake boolean logic fixed
|
2024-05-31 09:27:05 +02:00 |
|
Mateusz Pusz
|
cd36e6f974
|
feat: freestanding support added
Resolves #564, #565, and #556
|
2024-05-30 19:50:02 +02:00 |
|
Mateusz Pusz
|
3a792b4057
|
fix: IWYU
|
2024-05-30 12:14:58 +02:00 |
|
Mateusz Pusz
|
430b37e108
|
build: -Wno-subobject-linkage added for GCC compilation of static unit tests
|
2024-05-16 14:06:33 +02:00 |
|
Mateusz Pusz
|
2a5d5c4ebf
|
fix: missing sstream header added to fixed_string_test
|
2024-05-16 13:06:34 +02:00 |
|
Mateusz Pusz
|
15a6d02152
|
Merge branch 'master' of github.com:mpusz/mp-units
|
2024-05-16 12:33:58 +02:00 |
|
Mateusz Pusz
|
a479246ea7
|
feat: basic_fixed_string implementation and testing improved
|
2024-05-16 12:30:45 +02:00 |
|
Yves Delley
|
ae912c0efb
|
added one more test; highlighting an issue with detail::common_magnitude_type_impl when both types are the same
|
2024-05-12 11:47:03 +02:00 |
|
Yves Delley
|
f30fac17f0
|
added a bit of documentation
|
2024-05-12 11:13:00 +02:00 |
|
Yves Delley
|
c0efdb1790
|
better handle simultaneous change of representation, unit and point_origin in value_cast, to prevent overflow in more cases.
|
2024-05-12 10:57:33 +02:00 |
|
Yves Delley
|
c51baae074
|
value_cast overloads for ToQ and ToQP
|
2024-05-10 23:40:54 +02:00 |
|
Yves Delley
|
14f658120e
|
fix value_cast with lvalue references to quantity_point
|
2024-05-10 23:14:17 +02:00 |
|
Yves Delley
|
8f8b908b3d
|
added more tests, hopefully, the issue does now surface
|
2024-05-10 23:07:55 +02:00 |
|
Yves Delley
|
be8fc9eb98
|
add tests for value_cast of quantity_point
|
2024-05-10 22:45:33 +02:00 |
|
 Yves DelleyandMateusz Pusz
|
09c7b059c7
|
review suggestions
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
|
2024-05-10 21:38:40 +02:00 |
|
Yves Delley
|
c2fa8a9000
|
avoid using a function for the lvalue test
|
2024-05-10 21:13:21 +02:00 |
|
Yves Delley
|
d03f9c17a3
|
fix constexpr and format
|
2024-05-10 20:15:15 +02:00 |
|
Yves Delley
|
b119abed56
|
add test for lvalue references in quantity_cast
|
2024-05-10 20:01:35 +02:00 |
|
Mateusz Pusz
|
54d144d112
|
refactor: workarounds for clang-tidy-18
|
2024-05-08 14:46:04 +02:00 |
|
Mateusz Pusz
|
5bac7d341d
|
style: clang-format applied to distibution_test.cpp
|
2024-05-08 12:16:02 +02:00 |
|
Mateusz Pusz
|
75f719add7
|
refactor: code refactored to comply with clang-tidy
|
2024-05-08 11:12:38 +02:00 |
|