Commit Graph

421 Commits

Author SHA1 Message Date
Mateusz Pusz
4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' 2024-10-10 00:02:08 +02:00
Mateusz Pusz
4a98817c15 feat(example): currency example now uses chrono::time_point and has better interfaces 2024-10-01 19:53:02 +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
7e777f228a fix: hw_voltage compilation fixed on C++20 2024-09-17 17:11:33 -06:00
Mateusz Pusz
3ead7c2d52 feat: hw_voltage example added 2024-09-17 16:12:03 -06:00
Jonas Hoppe
4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example 2024-09-10 10:15:24 +02:00
Jonas Hoppe
413966efca [msvc][fix] revert changes in example and test folder 2024-09-10 10:03:37 +02:00
Jonas Hoppe
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
Jonas Hoppe
1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
Mateusz Pusz
7eb9b764bd fix: workarounds for not-working CWG2387 2024-09-05 22:05:35 +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
Jonas Hoppe
93af5db137 [clang-format] 2024-09-04 10:30:39 +02:00
Jonas Hoppe
3174291f95 Merge branch 'master-msvc-194' into master-msvc-194-only-lib 2024-09-04 10:27:41 +02:00
Jonas Hoppe
8be458b0b7 [msvc] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND 2024-09-04 10:19:15 +02:00
Jonas Hoppe
af077ef3c5 [msvc][fix] revert changes in example and test folder 2024-09-03 13:20:54 +02:00
Jonas Hoppe
0b0d3345e5 [clang-format] 2024-09-03 13:17:44 +02:00
Jonas Hoppe
482150eca1 [msvc][fix] some more errros in examples 2024-09-03 09:43:37 +02:00
Jonas Hoppe
e9ad43a71a [msvc][fix] CTAD for quantity_point does not work. 2024-09-03 09:43:37 +02:00
Jonas Hoppe
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
Jonas Hoppe
33837c5042 [msvc][fix] some short names hide global identifier 2024-09-03 09:42:48 +02:00
Mateusz Pusz
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz
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
Mateusz Pusz
73f7901329 build: duplicated cmake_minimum_required commands removed
Resolves #592
2024-07-14 18:04:05 +02: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
47c5563e16 refactor: deleted function not needed in validated_type 2024-06-22 18:58:22 +02: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
d03482fa1b feat: absolute and relative reference modifiers support added 2024-06-19 21:10:16 +02:00
Mateusz Pusz
5ad14e9492 refactor(example): strong_angular_quantities example updated 2024-06-19 15:53:48 +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
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
ed53cf03f0 refactor: contract support library header fles are no longer included in compat_macros.h 2024-06-10 22:00:46 +02:00
Mateusz Pusz
e382435b98 build: mp-units-contracts CMakeTarget added to reuse contract definition in different separate targets
Refers to #581
2024-06-06 14:07:16 +02:00
Mateusz Pusz
c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +02:00
Mateusz Pusz
41be9b3e53 refactor: input value for a kalman filter example had a typo in the book 2024-06-04 20:03:41 +02:00
Mateusz Pusz
ec287664ee refactor: some TODO comments resolved 2024-05-31 21:07:42 +02:00
Mateusz Pusz
a6562acde5 feat: allow configuring GSL library use
Resolves #576
2024-05-30 12:23:14 +02:00
Mateusz Pusz
c91ad7030b fix: format_system_state ambiguity fixed on apple-clang 2024-05-30 08:56:51 +02:00
Mateusz Pusz
09fa158f21 fix: missing <locale> header file added 2024-05-30 08:30:41 +02:00
Mateusz Pusz
1d1057aa44 fix: symbol shadowing error on clang-16 fixed 2024-05-29 20:57:00 +02:00
Mateusz Pusz
1cb86a2271 feat(example): kalman filter examples enabled after text formatting refactoring 2024-05-29 20:25:21 +02:00
Mateusz Pusz
75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
Mateusz Pusz
f770057052 refactor: IWYU updates 2024-04-25 19:33:03 +02:00
Mateusz Pusz
8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
Mateusz Pusz
c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz
63f97d3396 fix: improved text formatting in examples 2024-04-19 16:49:27 +01:00