35798a0f39
refactor: ostream.h
header file made deprecated
2025-06-20 10:40:10 +02: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
465f88d500
refactor: 💥 is_XXX
customization points for representation types removed
2024-11-26 14:48:08 +01:00
76057eaf7c
feat(example): treat_as_floating_point
specializations for examples' types removed
2024-10-26 19:15:34 +02: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
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
8be458b0b7
[msvc] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND
2024-09-04 10:19:15 +02:00
b870b85c25
feat: import std;
support added
...
Resolves #595
2024-07-16 17:36:00 +02:00
75f719add7
refactor: code refactored to comply with clang-tidy
2024-05-08 11:12:38 +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
c066104af7
refactor: 💥 framework.h
introduced + IWYU
2024-04-24 21:09:29 +02:00
6914142275
fix: compat_macros
included to fix the compilation after rebase
2024-01-06 09:25:17 +01:00
7cb2099af5
feat: add module mp_units
2024-01-06 08:51:00 +01:00
db4a24a197
refactor: MSVC workaround for constrained auto variable
2024-01-05 11:17:36 +01:00
e23f038173
Merge branch 'master' into unit_compose_ext
2023-10-06 23:38:04 +02:00
25f986d32c
fix: MSVC-related fixes and workarounds
2023-10-04 10:00:17 -06:00
b2423bfded
feat: quantities can now be multiplied and divided by units
2023-09-29 21:40:24 -06:00
42527d2bfb
fix(example): measurement
now properly propagates treat_as_floating_point
2023-09-10 14:17:34 +02:00
ae92b49775
refactor: op[U]
for quantity
and quantity_point
replaced with .in(U)
...
Resolves #469
2023-08-23 16:46:15 +02:00
52ce2b21f7
refactor: iostream.h
renamed to ostream.h
2023-06-23 15:03:04 +02:00
ba1f58af76
refactor: All the macros refactored to have MP_UNITS_
prefix
2023-06-21 18:05:21 +02:00
7d9ae3ec31
refactor: mp_units
subdirectory renamed to mp-units
2023-05-25 12:47:10 +02:00
318b9e260b
refactor(example): small refactoring of examples
2023-04-21 15:18:09 +01:00
e98215c347
refactor: examples refactored to benefit from the latest features
2023-02-14 12:58:54 +01:00
859bc20fdc
refactor: all examples refactored to use a simplified quantity creation
2023-02-08 21:47:48 -08:00
0cebb68e2e
fix: broken concept names fixed
2023-02-03 16:58:33 +01:00
83aee04da0
refactor: quantity_io.h
renamed to iostream.h
2023-02-03 16:57:48 +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
858cbb472f
refactor: First examples refactored to a new quantity creation syntax
2022-12-22 18:06:20 +01:00
82b1f7ffc0
refactor(example): RepresentationOf
support added to examples
2022-12-20 17:26:55 +01:00
b4828d243d
refactor: first examples refactored for V2
2022-11-11 10:33:24 -10:00
b221dace3f
style: clang-format applied to the remaining files
2022-04-02 21:36:42 +02:00
813197021f
refactor: measurement
example moved to a root examples directory
2021-04-15 14:05:36 +02: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
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
88e642ec74
refactor: QuantityValue
concept renamed to Representation
2021-03-19 07:53:18 +01: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
cff718301c
refactor: quantity_io added
2020-12-28 15:18:36 +01:00
cfc90f4aac
refactor: 💥 basic_concepts, quantity
and quantity_cast
refactored
...
BREAKING CHANGE: ScalableNumber renamed to QuantityValue
Resolves #107
2020-10-06 18:17:52 +02:00
d4d23847d8
refactor: DOWNCAST_MODE
renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02: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
9cd0cb4105
feat: two argument explicit cast support added
2020-09-10 13:01:38 +02:00