437 Commits

Author SHA1 Message Date
35798a0f39 refactor: ostream.h header file made deprecated 2025-06-20 10:40:10 +02:00
50c05bddb3 refactor: format.h header file made deprecated 2025-06-20 09:06:49 +02:00
f7fc8dd715 Revert "refactor(example): explicit conversions added for ranged_representation arguments"
This reverts commit 0811ca92e1.
2025-04-03 08:17:54 +01:00
0811ca92e1 refactor(example): explicit conversions added for ranged_representation arguments 2025-04-03 08:00:09 +01:00
6a9f883335 refactor: deprecated literal operators 2025-03-19 12:31:37 +01:00
47a82f466c refactor: scalar and complex renamed to real_scalar and complex_scalar respectively + concepts refactoring + electromagnetism fixes 2025-02-11 17:26:19 +01:00
06cbfae3b3 feat: quantity_spec conversions improved 2024-12-28 14:02:03 +01:00
465f88d500 refactor: 💥 is_XXX customization points for representation types removed 2024-11-26 14:48:08 +01:00
b77aa52355 refactor: absolute renamed to point
Resolves #645
2024-11-24 14:19:16 +01:00
51f2539fae build: MP_UNITS_DEV_TIME_TRACE CMake option added 2024-11-17 13:35:12 +01:00
7b64b4b650 refactor: 💥 from now unit_symbol and dimension_symbol always returns std::string_view 2024-11-16 09:57:53 +01:00
1ee824423e refactor: usage of v for the function argument name changed to prevent shadowing errors 2024-11-12 16:22:14 +01:00
5ddbd62ea4 feat(example): is_vector specialization no longer needed for si_constants 2024-11-12 14:19:39 +01:00
6896d8e086 fix: velocity is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:01 +01:00
5810420277 refactor: 💥 tag types should not expose their members 2024-11-04 09:40:25 +01:00
76057eaf7c feat(example): treat_as_floating_point specializations for examples' types removed 2024-10-26 19:15:34 +02:00
4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' 2024-10-10 00:02:08 +02:00
4a98817c15 feat(example): currency example now uses chrono::time_point and has better interfaces 2024-10-01 19:53:02 +02:00
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
7e777f228a fix: hw_voltage compilation fixed on C++20 2024-09-17 17:11:33 -06:00
3ead7c2d52 feat: hw_voltage example added 2024-09-17 16:12:03 -06:00
4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example 2024-09-10 10:15:24 +02:00
413966efca [msvc][fix] revert changes in example and test folder 2024-09-10 10:03:37 +02:00
aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commit e3034c5554, reversing
changes made to 8be458b0b7.
2024-09-09 12:10:39 +02:00
1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
7eb9b764bd fix: workarounds for not-working CWG2387 2024-09-05 22:05:35 +02:00
45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
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
93af5db137 [clang-format] 2024-09-04 10:30:39 +02:00
3174291f95 Merge branch 'master-msvc-194' into master-msvc-194-only-lib 2024-09-04 10:27:41 +02:00
8be458b0b7 [msvc] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND 2024-09-04 10:19:15 +02:00
af077ef3c5 [msvc][fix] revert changes in example and test folder 2024-09-03 13:20:54 +02:00
0b0d3345e5 [clang-format] 2024-09-03 13:17:44 +02:00
482150eca1 [msvc][fix] some more errros in examples 2024-09-03 09:43:37 +02:00
e9ad43a71a [msvc][fix] CTAD for quantity_point does not work. 2024-09-03 09:43:37 +02:00
30ac2882bd [msvc][fix] a lot of brackets where msvc prefers
the type and not the value. (Issue reported)
2024-09-03 09:43:34 +02:00
33837c5042 [msvc][fix] some short names hide global identifier 2024-09-03 09:42:48 +02:00
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
fcc16ae282 feat: convertibility of a quantity with a unit one with the raw value added
Resolves #553
2024-07-14 18:31:11 +02:00
73f7901329 build: duplicated cmake_minimum_required commands removed
Resolves #592
2024-07-14 18:04:05 +02:00
ba8681f90b feat: 💥 delta and absolute construction helpers 2024-06-30 12:03:24 +02:00
90d8fda327 feat: qp1.quantity_from(qp2) added 2024-06-25 14:07:08 -05:00
47c5563e16 refactor: deleted function not needed in validated_type 2024-06-22 18:58:22 +02:00
4b46be7604 refactor: reference specifiers are now variable templates 2024-06-20 09:20:33 +02:00
b38b23ece2 refactor: relative() renamed to delta() 2024-06-20 07:31:22 +02:00
d03482fa1b feat: absolute and relative reference modifiers support added 2024-06-19 21:10:16 +02:00
5ad14e9492 refactor(example): strong_angular_quantities example updated 2024-06-19 15:53:48 +02:00
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
6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00
0fbe0bb5e0 style: clang-format 2024-06-10 22:13:37 +02:00