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
6914142275
fix: compat_macros
included to fix the compilation after rebase
2024-01-06 09:25:17 +01:00
Johel Ernesto Guerrero Peña
7cb2099af5
feat: add module mp_units
2024-01-06 08:51:00 +01:00
Mateusz Pusz
db4a24a197
refactor: MSVC workaround for constrained auto variable
2024-01-05 11:17:36 +01:00
Mateusz Pusz
e23f038173
Merge branch 'master' into unit_compose_ext
2023-10-06 23:38:04 +02:00
Mateusz Pusz
25f986d32c
fix: MSVC-related fixes and workarounds
2023-10-04 10:00:17 -06:00
Mateusz Pusz
b2423bfded
feat: quantities can now be multiplied and divided by units
2023-09-29 21:40:24 -06:00
Mateusz Pusz
42527d2bfb
fix(example): measurement
now properly propagates treat_as_floating_point
2023-09-10 14:17:34 +02:00
Mateusz Pusz
ae92b49775
refactor: op[U]
for quantity
and quantity_point
replaced with .in(U)
...
Resolves #469
2023-08-23 16:46:15 +02:00
Mateusz Pusz
52ce2b21f7
refactor: iostream.h
renamed to ostream.h
2023-06-23 15:03:04 +02:00
Mateusz Pusz
ba1f58af76
refactor: All the macros refactored to have MP_UNITS_
prefix
2023-06-21 18:05:21 +02:00
Mateusz Pusz
7d9ae3ec31
refactor: mp_units
subdirectory renamed to mp-units
2023-05-25 12:47:10 +02:00
Mateusz Pusz
318b9e260b
refactor(example): small refactoring of examples
2023-04-21 15:18:09 +01:00
Mateusz Pusz
e98215c347
refactor: examples refactored to benefit from the latest features
2023-02-14 12:58:54 +01:00
Mateusz Pusz
859bc20fdc
refactor: all examples refactored to use a simplified quantity creation
2023-02-08 21:47:48 -08:00
Mateusz Pusz
0cebb68e2e
fix: broken concept names fixed
2023-02-03 16:58:33 +01:00
Mateusz Pusz
83aee04da0
refactor: quantity_io.h
renamed to iostream.h
2023-02-03 16:57:48 +01:00
Mateusz Pusz
2cf736a1e6
feat: preventing possible future units
crash when using namespace std;
...
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz
6b72dd39c1
refactor: headers with system definitions moved to _systems_ subdirectory
2022-12-29 19:27:54 +01:00
Mateusz Pusz
858cbb472f
refactor: First examples refactored to a new quantity creation syntax
2022-12-22 18:06:20 +01:00
Mateusz Pusz
82b1f7ffc0
refactor(example): RepresentationOf
support added to examples
2022-12-20 17:26:55 +01:00
Mateusz Pusz
b4828d243d
refactor: first examples refactored for V2
2022-11-11 10:33:24 -10:00
Mateusz Pusz
b221dace3f
style: clang-format applied to the remaining files
2022-04-02 21:36:42 +02:00
Mateusz Pusz
813197021f
refactor: measurement
example moved to a root examples directory
2021-04-15 14:05:36 +02:00
Mateusz Pusz
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
Mateusz Pusz
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
Mateusz Pusz
88e642ec74
refactor: QuantityValue
concept renamed to Representation
2021-03-19 07:53:18 +01:00
Mateusz Pusz
bbbb77286c
refactor: physical
replaced with isq
...
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
23720d055e
refactor: Refactored the library file tree
...
Resolves #249
2021-03-16 09:32:28 +01:00
Mateusz Pusz
cff718301c
refactor: quantity_io added
2020-12-28 15:18:36 +01:00
Mateusz Pusz
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
Mateusz Pusz
d4d23847d8
refactor: DOWNCAST_MODE
renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02:00
Mateusz Pusz
6e510b3a2a
refactor: modules-like behavior for systems removed to improve broken compile-time
...
Reffers to #32
2020-09-13 00:11:02 +02:00
Mateusz Pusz
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
Mateusz Pusz
9cd0cb4105
feat: two argument explicit cast support added
2020-09-10 13:01:38 +02:00
Mateusz Pusz
9a49df7222
refactor: 💥 Scalar
concept renamed to ScalableNumber
...
Resolves #114
2020-09-08 21:17:09 +02:00
Mateusz Pusz
4bb51586dc
refactor: got rid of gcc-9 backlog
...
BREAKING CHANGE: gcc-9.3 no longer supported
2020-09-08 13:09:34 +02:00
Mateusz Pusz
b318e8d039
VS2019 support added
2020-09-04 23:06:57 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108
Physical units put in the physical
namespace (I am sorry)
2020-05-08 22:39:24 +02:00
Mateusz Pusz
52e7f57c69
Measurement example updated
2020-03-25 16:30:08 +01:00
Mateusz Pusz
3be8ee921e
Starship improvements after the latest gcc fixes
2020-02-12 09:48:04 +01:00
Mateusz Pusz
3decaecb52
TODO comments clean-up
2019-12-17 20:15:38 +01:00
Mateusz Pusz
1b2d27a64c
measurement example updated with a starship operator
2019-12-17 09:12:11 +01:00
Mateusz Pusz
fbf3ef8c4f
Most of concepts moved to a new file + quantity.h split to smaller pieces
2019-12-12 13:17:31 +01:00
Mateusz Pusz
f31b26b5e5
Design cleanup
...
- unknown_unit added
- examples refactored
- base_type renamed to downcast_base_type
- scaled_unit renamed to named_scaled_unit
- detail::reference_unit renamed to scaled_unit
- quantity_test cleanup
2019-12-06 12:18:39 +01:00
Mateusz Pusz
fbbb28fdfd
measurement
example added
2019-11-16 18:30:44 +01:00