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
b870b85c25
feat: import std;
support added
...
Resolves #595
2024-07-16 17:36:00 +02:00
e90cffcbda
refactor: text formatting library header files are no longer included in compat_macros.h
2024-06-10 22:04:41 +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
fa04e93687
feat: New formatting specification implemented
2024-04-18 22:29:09 +01:00
d9723b61a6
docs: "hello units" example updated with dimensions output
2024-02-26 14:36:49 +01:00
a9deec9d59
refactor: example applications refactored to a new formatting syntax
2024-01-23 21:49:17 +01:00
fb8552b1d9
refactor: core-fmt
and core-ostream
modules merged with core
2024-01-06 08:51:01 +01:00
0eaf6e2e56
refactor: modules support redesigned
2024-01-06 08:51:01 +01:00
7cb2099af5
feat: add module mp_units
2024-01-06 08:51:00 +01:00
b2423bfded
feat: quantities can now be multiplied and divided by units
2023-09-29 21:40:24 -06:00
76a9e0ff6e
refactor(example): hello_units refactored to not use auto
2023-09-13 08:58:38 +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
60a564a867
refactor(example): simpler header files used
2023-07-11 19:48:22 +02:00
52ce2b21f7
refactor: iostream.h
renamed to ostream.h
2023-06-23 15:03:04 +02:00
46a4999d3b
docs: hello_units
example documentation added
2023-06-22 18:22:41 +02:00
ba1f58af76
refactor: All the macros refactored to have MP_UNITS_
prefix
2023-06-21 18:05:21 +02:00
8c54bbdc9a
refactor(example): hello_units
example changed to better reflect the code in README
2023-06-16 10:26:34 +03:00
561fbf7c93
merge branch master
2023-05-26 13:53:52 +02:00
7d9ae3ec31
refactor: mp_units
subdirectory renamed to mp-units
2023-05-25 12:47:10 +02: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
b4f47c3fef
feat: value_cast
support added
...
Resolves #239 and #120
2023-02-03 11:08:13 +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
97da55edfa
refactor: the rest of the systems refactored for V2
2022-12-29 18:59:10 +01:00
858cbb472f
refactor: First examples refactored to a new quantity creation syntax
2022-12-22 18:06:20 +01:00
92c70f1a4e
feat: quantity_spec
support added
2022-12-16 18:15:48 +01:00
e7fff94d7c
refactor(example): hello_units
refactored
2022-11-30 18:36:16 +01:00
8d711cdf8e
fix: hello_units reverted to the original state
2022-09-08 19:21:47 +02:00
daf97a3a86
feat: initial very dirty version of V2 framework
2022-09-08 19:11:45 +02:00
b221dace3f
style: clang-format applied to the remaining files
2022-04-02 21:36:42 +02:00
b1bd4cab2d
feat: std::format
support for compliant compilers added
2021-09-20 15:01:58 +02:00
2c8c6c2e98
refactor: quantity cration helpers are not opt-out rather than opt-in
...
Resolves #277
2021-05-09 15:52:20 +02:00
70bff31d06
feat: quantity aliases support addded
2021-04-15 19:13:25 +02:00
1f80c57fad
refactor: hello_units
fixed to provide literals
and references
preprocessor defines explicitly
2021-04-06 16:36:52 +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
c3659dbb47
refactor: UNITS_UDLS
renamed to UNITS_LITERALS
...
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
1a5b4fc85e
refactor: UDLs support switched off by default
2021-04-02 18:56: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
0b87e7c99c
refactor!: require explicit number for references
...
Addresses:
- https://github.com/mpusz/units/pull/261#discussion_r596651065
- https://github.com/mpusz/units/pull/261#discussion_r596664550
- https://github.com/mpusz/units/pull/261#discussion_r597132294
2021-03-18 22:37:25 +01:00
018c5837f9
refactor: rename unit_constants to references
...
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522 .
2021-03-18 22:37:25 +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
dd2079055d
feat: hello_units example updated with the latest changes
2020-12-29 11:46:27 +01:00
cff718301c
refactor: quantity_io added
2020-12-28 15:18:36 +01:00
d4d23847d8
refactor: DOWNCAST_MODE
renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02:00